asp.net.ph

OleDbParameter Constructor ( )

System.Data.OleDb Namespace   OleDbParameter Class


Initializes a new instance of the OleDbParameter class. This is the default constructor.

[ VB ]
Overloads Public Sub New ( )

[ C# ]
public OleDbParameter ( );

[ C++ ]
public: OleDbParameter ( );

[ JScript ]
public function OleDbParameter ( );

Example

The following example initializes an OleDbParameter and sets some of its properties.

public void CreateOleDbParameter ( ) {
   OleDbParameter myParam = new OleDbParameter ( );
   myParam.ParameterName = "Description";
   myParam.OleDbType = OleDbType.VarChar;
   myParam.Direction = ParameterDirection.Output;
   myParam.Size = 100;
}
  C# VB

See Also

OleDbParameter Members   OleDbParameter Constructor Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph