Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
2 posts • Page 1 of 1
The simplest way to view table in DataGrid is as follows:
For more examples please refer to MySqlDirect .NET samlples.
Code: Select all
MySqlDataTable dataTable = new MySqlDataTable("select * from dept", "host=localhost;database=test;user id=root;"); dataGrid1.DataSource = dataTable; dataTable.Active = true;