How to page DataGridView with huge row number to get better performance
How to page DataGridView with huge row number to get better performance
I have a table in MySQL with more than 7000 rows and about 20 fields. I want my user be able to select a single row.
I use common code to fill my DataGridView instance named as dataGridView1 with this table. The code is:
MySqlCommand cmd = new MySqlCommand(sql, con); MySqlDataAdapter adapter = new MySqlDataAdapter(cmd); DataTable dt = new DataTable(); adapter.Fill(dt); dataGridView1.DataSource…
View On WordPress






