IColumnMapping.DataSetColumn Property

Definition

Gets or sets the name of the column within the DataSet to map to.

public:
 property System::String ^ DataSetColumn { System::String ^ get(); void set(System::String ^ value); };
public string DataSetColumn { get; set; }
member this.DataSetColumn : string with get, set
Public Property DataSetColumn As String

Property Value

The name of the column within the DataSet to map to. The name is not case sensitive.

Examples

The following example creates an instance of the derived class, DataColumnMapping, and sets its properties.

public void CreateDataColumnMapping()
{
    DataColumnMapping mapping = new DataColumnMapping();
    mapping.SourceColumn = "Description";
    mapping.DataSetColumn = "DataDescription";
}
Public Sub CreateDataColumnMapping()
    Dim mapping As New DataColumnMapping()
    mapping.SourceColumn = "Description"
    mapping.DataSetColumn = "DataDescription"
End Sub

Applies to