Updates the given table with data from the given DataSet
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 6.2.2.0
Syntax
C# |
---|
public static void UpdateDataSet( string connectionString, string commandText, DataSet ds, string tablename ) |
Visual Basic (Declaration) |
---|
Public Shared Sub UpdateDataSet ( _ connectionString As String, _ commandText As String, _ ds As DataSet, _ tablename As String _ ) |
Visual C++ |
---|
public: static void UpdateDataSet( String^ connectionString, String^ commandText, DataSet^ ds, String^ tablename ) |
Parameters
- connectionString
- Type: System..::.String
Settings to use for the update
- commandText
- Type: System..::.String
Command text to use for the update
- ds
- Type: System.Data..::.DataSet
DataSet containing the new data to use in the update
- tablename
- Type: System..::.String
Tablename in the dataset to update