Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
225
UltraComboEditor - suggest/append from150k records
posted

I need to provide an auto-complete feature that suggests/appends based on 150k records.  The winform that will provide this feature will be opened around 5k times per day by 30+ users in the office.  The data is fairly volatile meaning new records get added fairly often throughout the day so I can't cache the dataset for too long without running the risk of someone not seeing recently added records, which can actually cause some legal issues in the industry we're in.

I'm wondering what's the best way to implement this feature. One idea is to handle the TextChanged event and whenever the event is triggered a DB call would be made to bring back a subset of data that matches what the user has typed upto that point and then bind that subset to the UltraComboEditor control.

Can anyone think of a more efficient way to accommodate this scenario?