| Author: Tamilselvan 06 Oct 2008 | Member Level: Gold | Rating:   Points: 3 |
hi friend, You are enter the country value in textbox (here code behind textbox selected index changed event) write a code here
using query like select * from statename where countryname='"+textbox1.text+"'
and bind the dropdown list box
This may help you.
Regards Tamilselvan
|
| Author: divya 06 Oct 2008 | Member Level: Gold | Rating:   Points: 3 |
Use the query as Select state from tablename where countryid=<id> or select state from tablename where countryname="countryname" store the query result in sqldatareader and add it to the dropdownlist .
|