如何减少UI到数据库之间的输出时间? [英] How to reduce Output timing between UI to database?
本文介绍了如何减少UI到数据库之间的输出时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有一个datagridview,用于从MySQL数据库填充表.
Mysql代码:从schema.table中选择*;
C#代码:datatable = datagridview.DataSource;
连接并获取所有数据的时间需要8秒,有时需要15秒.
这是Windows应用程序项目.
为了减少时间该怎么办?
请建议如何做或参考一些链接.
非常感谢.
Saranya1388
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
推荐答案
希望此 [ ^ ]可能会为您提供帮助.
Hope this[^] might help you.
这篇关于如何减少UI到数据库之间的输出时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文