Binding Data From Textbox to Dropdown

Hi,

Here i attached the sample project, It contains a textbox, dropdown and a button control.Input to the text box is a string(ie a,b,c,d). I split that and displayed in dropdown control.

In This You know about,
1. Split function
2. Bind that input to dropdown.

Here i attached 2 files
1st one is you get data from DB to txt box
2nd one is u can type manually to txt box

Regards,
Siva Sankari


Attachments

  • Binding Data from txtbox to Dropdown Control (17716-29850-Dropdownlist.zip)
  • Manually type content in Txtbox (17716-2997-Dropdownlist.zip)
  • Comments

    Author: Kapil Dhawan18 Jun 2008 Member Level: Gold   Points : 2

    Hello
    Nice piece of code
    Thanks for sharing your knowledge with us.
    I hope to see more good code from your side
    This code will help lots of guys
    Thanks to you
    Regards,
    Kapil

    Author: praveen25 Nov 2010 Member Level: Gold   Points : 0

    can u provide database file,the second file showing error

    Author: Siva Prasad25 Mar 2012 Member Level: Gold   Points : 1

    1st one is to get data from DB to txt box. In this it will bring always first record's field only from that database table. We need to write some logic to bring all rows with comma separator from database.



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: