09-08-2012, 09:15 PM
Well, just as the error message says
Value Cannot be null. Parameter name: dataSet
When you create a variable of any sort of object, the variable is defaulted to a value of null. So, you need to assign a value to ds. Something like this, perhaps:
[code2=vbnet]Dim MySQLConn As MySqlConnection
Dim da As MySqlDataAdapter
Dim ds As DataSet = New DataSet("newDataSet")[/code2]
Value Cannot be null. Parameter name: dataSet
When you create a variable of any sort of object, the variable is defaulted to a value of null. So, you need to assign a value to ds. Something like this, perhaps:
[code2=vbnet]Dim MySQLConn As MySqlConnection
Dim da As MySqlDataAdapter
Dim ds As DataSet = New DataSet("newDataSet")[/code2]