Click here to Skip to main content
16,017,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,
I am using a gridview in my program, which has 5 columns. First three columns has dropdown lists ( Each dropdown list has 2 values "P", "A").The other two columns have studentRollNo and Name.
I am binding the data from a sql server table to gridview. Initially all the dropdowns selected value is "P".
But, If the record is already present in database table, then according to that record my dropdown selected value should be change or else it should be "P" only.

Thanks in advance for taking pain for me.
Posted

1 solution

Hi 2012programmer,

Try the below link for solution.

http://forums.asp.net/t/1508054.aspx/1[^]

Thank you,
Vamsi
 
Share this answer
 

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