|
-
Feb 19th, 2008, 08:25 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [2005] Auto complete
How can i set a textbox to autocomplete mode where the datasource is the data in the database. The textbox is not directly bound to the datasource but is populated using adodb codes. I read the documentation and tried using the autocompletesource in the databindings from the properties windows of the textbox, but to no result.
-
Feb 20th, 2008, 01:55 AM
#2
Thread Starter
Hyperactive Member
-
Mar 3rd, 2008, 09:29 AM
#3
Thread Starter
Hyperactive Member
Re: [2005] Auto complete
is it possible to add autocomplete custom source of a TEXTBOX as the values from the database ?
-
Mar 3rd, 2008, 09:47 AM
#4
New Member
Re: [2005] Auto complete
I don't know if such a feature exists in any of the Visual Studio controls.
I guess you can do it manually by loading all the values from the database in a dataset.
Then call a function whenever keydown is pressed in the textbox that looks up all words with the lettercombination in your dataset (with .contains("combination") ) and show them to the user.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|