System.Data.Common.DbParameter.SourceColumn Property

Gets or sets the name of the source column mapped to the System.Data.DataSet and used for loading or returning the DbParameter.Value.

Syntax

[System.ComponentModel.DefaultValue("")]
public abstract string SourceColumn { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When DbParameter.SourceColumn is set to anything other than an empty string, the value of the parameter is retrieved from the column with the DbParameter.SourceColumn name. If DbParameter.Direction is set to Input, the value is taken from the System.Data.DataSet. If DbParameter.Direction is set to Output, the value is taken from the data source. A DbParameter.Direction of InputOutput is a combination of both.

For more information about how to use the DbParameter.SourceColumn property, see Using Parameters with a DataAdapter and Updating the Database with a DataAdapter and the DataSet.

Requirements

Namespace: System.Data.Common
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0