asp.net.ph

OleDbParameter.ParameterName Property

System.Data.OleDb Namespace   OleDbParameter Class


Sets or retrieves the name of the parameter.

Syntax


Script OleDbParameter.ParameterName [ = strName ]

Property Value


strName The name the OleDbParameter.

The property is read/write with no default value.

Implements

IDataParameter.ParameterName

Remarks

The OLE DB .NET Provider uses positional parameters that are marked with a question mark ( ? ) instead of named parameters.

Example

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

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

See Also

OleDbParameter Members 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