bound dropdownlist adding temp data
-
is it possible to add a temporary data in bound dropdownlist? i have dropdownlist with data from database tblCode
Code CodeName 1 AAAA 2 BBBB 3 CCCC 4 DDDD
then sometimes user just put 0 in dropdownlist just like in combobox in access, behaving like textbox.C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」
-
is it possible to add a temporary data in bound dropdownlist? i have dropdownlist with data from database tblCode
Code CodeName 1 AAAA 2 BBBB 3 CCCC 4 DDDD
then sometimes user just put 0 in dropdownlist just like in combobox in access, behaving like textbox.C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」
your question is not clear for me, can you please give me more info
Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
-
your question is not clear for me, can you please give me more info
Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
ok. apologize. here's the new question:: How can I make asp dropdownlist treat like combobox just the same in access? In access, combobox is behaving like textbox meaning you can input directly whatever you want.
C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」
-
ok. apologize. here's the new question:: How can I make asp dropdownlist treat like combobox just the same in access? In access, combobox is behaving like textbox meaning you can input directly whatever you want.
C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」
You can use Ajax control toolkit for the same. Please take a look over here: http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ComboBox/ComboBox.aspx[^] Hope this will help you.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.
My latest article: Group GridView Data -
You can use Ajax control toolkit for the same. Please take a look over here: http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ComboBox/ComboBox.aspx[^] Hope this will help you.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.
My latest article: Group GridView Datathanks. but i currently used this. what i need is i want to input any data on the dropdownlist which is not found in the database. in your link given. yes, i can type the letter,its good but what if i will type numbers on dropdown or words that cannot be found on the dropdown.
C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」
-
thanks. but i currently used this. what i need is i want to input any data on the dropdownlist which is not found in the database. in your link given. yes, i can type the letter,its good but what if i will type numbers on dropdown or words that cannot be found on the dropdown.
C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」
You should use AutoComplete extender control for this purpose. Use this extender for a TextBox instead of a DropDownList. Populate the autocomplete data from the database. Please have a look at the demo here[^].
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.
My latest article: Group GridView Data