慢速VB.NET应用程序使用大量数据进行自动完成 [英] Slow VB.NET Application Using A huge data for autocomplete

查看:107
本文介绍了慢速VB.NET应用程序使用大量数据进行自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
将自动完成文本框属性与大量数据一起使用时,我遇到了一个大问题.
我曾尝试在应用程序加载之前加载它们,但是问题是,除非其他用户重新启动整个应用程序,否则任何对数据的操作都不会出现.
数据已超过数据库中的百万条记录.
我应该做些什么来改进我的应用程序,并且所做的更改不仅会显示在本地数据表上,而且还会显示给其他用户.作为自动完成源添加到数据库.这样,您就不必事先加载所有数据.


Hello,
I have a huge problem when using the autocomplete textbox property with a huge data.
I have tried to load them before application load but the problem is any manipulating on data will not appear to other users unless they restarted the whole application.
The data is more than million record in database.
What I should do to improve my application and the changes appear to the other users not only on local datatable.

解决方案

I think you are going to have to use a query to the database as the autocomplete source. This way you avoid having to load all the data before hand.


这篇关于慢速VB.NET应用程序使用大量数据进行自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆