Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have another issue ..I have a dropdown list for City with id ddlCity.I have a table which contains the city names.My wish is that when i am selecting the table row for editing,the drop downlist shows the City column data that is present in the index 0 as defult.But what I want is that the ddlcity should show the City column data of selected row as default .How can i do..Please tell me??
Posted
Updated 11-Dec-14 3:05am
v2
Comments
Praveen Kumar Upadhyay 11-Dec-14 9:13am    
Try to bind your dropdown in grid_RowDataBound event.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900