SqlCeParameter.SourceColumn Property

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

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public override string SourceColumn { get; set; }

Property Value

Type: System.String
The name of the source column mapped to the DataSet. The default is an empty string.

Implements

IDataParameter.SourceColumn

The following example creates a SqlCeParameter and sets the SourceColumn property.

SqlCeParameter param = new SqlCeParameter("@Description", SqlDbType.NVarChar);
param.SourceColumn = "Description";


Show: