Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
Hi all,

I have a datagridview to populate a table from MySQL database.

Mysql Code : Select * from schema.table;

C# Code : datatable = datagridview.DataSource;

The time to connect and get all the datas takes 8seconds to sometimes 15Sec.
This is a windows application project.
To reduce the timing what should i do?

Please Suggest how to do or refer some links.

Thanks a lot.
Saranya1388
Posted
Updated 4-Mar-11 19:37pm
v3

1 solution

Hope this[^] might help you.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 5-Mar-11 1:42am    
Good article, should be helpful. My 5.
--SA
[no name] 5-Mar-11 4:01am    
Thanks Sakryukov.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900