asp.net.ph

OleDbParameter.SourceColumn Property

System.Data.OleDb Namespace   OleDbParameter Class


Sets or retrieves the name of the column used for the parameter value.

Syntax


Script OleDbParameter.SourceColumn [ = strName ]

Property Value


strName The name of the source column mapped to the DataSet and used for loading or returning the Value of the OleDbParameter.

The property is read/write with no default value.

Implements

IDataParameter.SourceColumn

Remarks

The link betwen the value of the OleDbParameter and the DataTable may be bidirectional depending on the value of the Direction property.

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.SourceColumn = "Description";
   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