dotConnect for SQL Server Documentation
Devart.Common Namespace / DbLoader Class / SetValue Method / SetValue(String,Object) Method
The name of the column.
Column value.

In This Topic
    SetValue(String,Object) Method
    In This Topic
    Sets the value of the column with the specified name.
    Syntax
    'Declaration
     
    Public Overloads Sub SetValue( _
       ByVal name As String, _
       ByVal value As Object _
    ) 
    public void SetValue( 
       string name,
       object value
    )

    Parameters

    name
    The name of the column.
    value
    Column value.
    Remarks

    Use SetValue(String,Object) method to set column with specific name in the current row to the value. To assign a column NULL value use SetNull(String) method instead.

    The columns that you did not explicitly assign a value are considered to be NULL.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also