DataColumnMapping.SourceColumn 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 data source to map from. The name is case-sensitive.
public:
property System::String ^ SourceColumn { System::String ^ get(); void set(System::String ^ value); };
public string SourceColumn { get; set; }
[System.Data.DataSysDescription("DataColumnMapping_SourceColumn")]
public string SourceColumn { get; set; }
member this.SourceColumn : string with get, set
[<System.Data.DataSysDescription("DataColumnMapping_SourceColumn")>]
member this.SourceColumn : string with get, set
Public Property SourceColumn As String
Property Value
The case-sensitive name of the column in the data source.
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, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.