dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlHelper Class / UpdateDataSet Method
Settings to use for the update connection.
Command text to use for the update.
System.Data.DataSet containing the new data to use in the update.
Name of the table in the dataset to update.

In This Topic
    UpdateDataSet Method
    In This Topic
    Updates the given table with data from the given System.Data.DataSet.
    Syntax
    'Declaration
     
    Public Shared Sub UpdateDataSet( _
       ByVal connectionString As String, _
       ByVal commandText As String, _
       ByVal ds As DataSet, _
       ByVal tablename As String _
    ) 
    public static void UpdateDataSet( 
       string connectionString,
       string commandText,
       DataSet ds,
       string tablename
    )

    Parameters

    connectionString
    Settings to use for the update connection.
    commandText
    Command text to use for the update.
    ds
    System.Data.DataSet containing the new data to use in the update.
    tablename
    Name of the table in the dataset to update.
    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