IDataParameter.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.
public:
property System::String ^ SourceColumn { System::String ^ get(); void set(System::String ^ value); };
public string SourceColumn { get; set; }
member this.SourceColumn : string with get, set
Public Property SourceColumn As String
Property Value
The name of the source column that is mapped to the DataSet. The default is an empty string.
Examples
The following example creates an instance of the implementing class, SqlParameter, and sets some of its properties.
public void CreateSqlParameter()
{
SqlParameter parameter = new SqlParameter(
"@Description", SqlDbType.VarChar);
parameter.IsNullable = true;
parameter.Direction = ParameterDirection.Output;
parameter.SourceColumn = "Description";
}
Public Sub CreateSqlParameter()
Dim parameter As New SqlParameter( _
"@Description", SqlDbType.VarChar)
parameter.IsNullable = True
parameter.Direction = ParameterDirection.Output
parameter.SourceColumn = "Description"
End Sub
Remarks
The link between the value of the IDataParameter and the DataTable may be bidirectional depending on the value of the Direction property.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru