Hello,

I am developing an asp.net c# application.

I need to implement a textbox in which the user enters a character (or more
then 1) and a dropdownlist is filled according to that character (it is filled
with all of the strings the begin with that character). it's like an
auto-complete control. I want to do sql connection. when i enter any character in autocomplete textbox it should display d string starting with that character when i select any string it should display relevant field of selected string in dropdown list.

How can i do that?

Please help me.


Thanks in Advance.

Set the breakpoint in your GetData method and make sure:
1: It is being actually called.
2: Some data is returned from db i.e. items in not null or empty.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.