Click here to Skip to main content
16,020,196 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to know how to get a checkbox value inside a datagridview using a button.. i want to capture the data of those selected item using a checkbox. can someone help me?? thanks
Posted

1 solution

 
Share this answer
 
Comments
Lara_Mae 7-Jun-13 3:38am    
what if i already got the id or the data in that checkbox and i want to pass that in the other form when i click the "Proceed" button.. how can i do that?
ridoy 7-Jun-13 3:45am    
Let,you have string data in your checkboxes.So when you check that store that data in a string and pass that string as a parameter where you create an instance of other form.Alternatively in your button click event call instance of that from and pass that values as a parameter.
Lara_Mae 7-Jun-13 3:48am    
do i have to put the values in an array? just in case i chose multiple checkboxes
ridoy 7-Jun-13 3:49am    
Yes you can.alternatively you can use lists or collections.

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