Saturday, November 23, 2013

Autocomplete Textbox Very Slow in C# Winform

If you have the AutoCompleteSource bound directly to the database, it's very likely that the textbox is hitting the database multiple times, which could affect performance, especially if the database is not local. Perhaps you can create a local collection of the phone numbers loaded from the database and bind that to the textbox.


Good luck!




- HomeGrownCoder My posts are kept as simple as possible for easier understanding. In many cases you can probably optimize or spruce up what I present. Have fun coding!


No comments:

Post a Comment