How do I databind Autocomplete Collection of a Textbox to a database?

 I have a project that requires a fairly large (10,000 items) autocomplete list for various textboxes. I would prefer to have this list directly databound to a data source as opposed to iterating through a recordset and loading the list with a loop. The ability to apply a SQL query to this list is also very important.

  The AutocompleteCustomSource property of the textbox seems like a starting point but I am sketchy on the details of how to go about actually binding a datasource to it.

 Is this the way to go about this or am I misreading what the AutocompleteCustomSource property actually is used for?
LVL 1
kkammAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arcrossCommented:
Not sure if this what you are lookng for..

http://msdn2.microsoft.com/en-us/library/801dxw2t(VS.80).aspx
0
kkammAuthor Commented:
Not really.

 I guess the crux of the matter is that I do not want to iterate through a returned dataset in order to load up the AutocompleteStringCollection list . I can do that in VB 6.

I would prefer the functionality of having the AutocompleteStringCollection list being directly bound to a data source. (In this case a SQL query)

So i guess the real question would be: is it possible to databind a Collection in VB.Net to a SQL query?
0
kkammAuthor Commented:
I went with a third-party .Net control from Skybound Software (http://www.skybound.ca/Products/AutoComplete/) which does what I need.
0
GranModCommented:
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.