Hi,
I am using a dropdownlist, textbox and a gridview.
i have populated the dropdownlist with the country codes from a table. based on the selection of the country code i am populating the grid with appropriate values. the drop down list contains codes like 'US','SA','UK','IND','AUS' fetched from the query "SELECT PrmCde,PrmVal from PrmDef"
PrmCde is the Country Code and PrmVal is the description of the Country like United states, South Africa, United Kingdom, India etc...
What I am looking for is to set the initial value of the dropdown list to IND and the textbox should display India. On change of the dropdown list value the text box value should change accordingly. I am using Sqldatasource. Any help or alternative to this issuw will be highly appreciated.
Thanks
Steve