on some of my forms (VB2005) I use a tableadapter and a dataset for filling a datagrid. On this forms is no MySQLConnection-component used. If I open the form there is the following line in the form_load:
Code: Select all
Me.MyDataTableAdapter3.Fill(Me.DataSet.MyData)
CoreLab.MySql.MySQLException: {"Lost connection to MySQL server during query"}
Why this? On other forms with a query and a MySqlConnection object I set the MySqlSelectCommand.CommandTimeOut to 180 and it works there but where can I set the timeout on this forms where no MySqlCommand is on?
Hope you can help me...! Thank you!!