Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i m having 2 gridview
1st gridview is binded during page load, it contains 1 checkbox and 2 datafields
suppose values are like this
checkbox
Parameter  Code
Height     1
Weight     2
wrist      3
Length     4
Bicep      5
...and so on

and on button click 2nd gridview get binded
suppose data's are like this

Parameter    Code
Weight        2
Lenth         4

I want that checkbox for weight and Length in gridview1 get selected after this button click
Posted
Updated 14-Mar-13 9:50am
v2
Comments
Richard C Bishop 14-Mar-13 9:23am    
Ok, so in the button click event, access the checkboxes in the gridview1 and mark them as checked.
deepaagilient 14-Mar-13 9:27am    
yes
Richard C Bishop 14-Mar-13 9:38am    
Ok, you get it, so write the code. Look up how to access controls inside a gridview. Once you get the checkboxes, do checkbox.checked = true on the ones you want.
joshrduncan2012 14-Mar-13 9:24am    
This smells like homework to me. This isn't a question, either.
deepaagilient 14-Mar-13 9:27am    
pls help me

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