DataColumnMapping.DataSetColumn Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
[System.Data.DataSysDescription("DataColumnMapping_DataSetColumn")]
public string DataSetColumn { get; set; }
member this.DataSetColumn : string with get, set
[<System.Data.DataSysDescription("DataColumnMapping_DataSetColumn")>]
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.
Implements
- Attributes
Examples
The following example creates a DataColumnMapping object, 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
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.