MySqlHelper.UpdateDataSet Method

MySQL Connector/Net

MySqlHelperUpdateDataSet Method
Updates the given table with data from the given DataSet

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public static void UpdateDataSet(
	string connectionString,
	string commandText,
	DataSet ds,
	string tablename
)
Public Shared Sub UpdateDataSet ( 
	connectionString As String,
	commandText As String,
	ds As DataSet,
	tablename As String
)
public:
static void UpdateDataSet(
	String^ connectionString, 
	String^ commandText, 
	DataSet^ ds, 
	String^ tablename
)
static member UpdateDataSet : 
        connectionString : string * 
        commandText : string * 
        ds : DataSet * 
        tablename : string -> unit 

Parameters

connectionString
Type: SystemString
Settings to use for the update
commandText
Type: SystemString
Command text to use for the update
ds
Type: System.DataDataSet
DataSet containing the new data to use in the update
tablename
Type: SystemString
Tablename in the dataset to update
See Also