UpdateDataSet Method

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Updates the given table with data from the given DataSet

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0

Syntax

C#
public static void UpdateDataSet(
	string connectionString,
	string commandText,
	DataSet ds,
	string tablename
)
Visual Basic
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

See Also