2
Answers

Autocomplete textbox based on dropdownlist selected text - J

I have a dropdownlist and textbox. Based on the selection of dropdownlist i need to do autocomplete for the textbox. eg: If i selected Name in dropdownlist textbox autocomplete value should be name, if i selected City then textbox autocomplete should be city.

Please help me to do this. Thanks in advance

Answers (2)
0
habib ullah

habib ullah

NA 116 2k 7y
sir please define the details of the above code
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 7y
You can use Path.GetExtension()
 
string myFilePath = @"C:\Manas.txt";
string ext = Path.GetExtension(myFilePath); //.txt