How to refresh dropdownlist in C#?

How To create a editable Dropdownlist using Asp.net?

  • HI, I need a code and sugestion or any reference links in creating the editable dropdownlist.. while runing the client can type on the dropdownlist and find the items to be arrived by alphabticaly, say typing a. list from the dropdownlist should show the items starting from a.. Kindly help me experts to solve this Problem.

  • Answer:

    Ami the whole purpose of a dropdownlist is to restrict a user from entering data into a field. The DDL forces the user to select from a pre-defined set of values. The way to properly do this is to have two DDLs. One to pick a letter the other to fill it. Ex: You fill DDL with all the letters of the alphabet. they pick 'A' you then bind the second DDL and fill it based on that selection SELECT items FROM DB WHERE (items LIKE 'A%') ORDER BY items ASC Here's an example of the correct way to do this: http://www.nvidia.com/Download/index.aspx?lang=en-us Look how they select drivers

arni at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.