Results 1 to 4 of 4

Thread: [RESOLVED] [2005] Auto complete

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2007
    Posts
    362

    Resolved [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.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2007
    Posts
    362

    Re: [2005] Auto complete

    any one ?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2007
    Posts
    362

    Re: [2005] Auto complete

    is it possible to add autocomplete custom source of a TEXTBOX as the values from the database ?

  4. #4
    New Member
    Join Date
    Feb 2008
    Location
    Antwerp, Belgium
    Posts
    14

    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
  •  



Click Here to Expand Forum to Full Width