Click here to Skip to main content
15,914,780 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a DataSet that I retrieve from a Database.

I then add an extra column to the DataSet Storing a 0 or 1 value.

I then Bind this DataSet to a DataGridView with the First Column being a CheckBoxColumn.

I have 2 problems:

1. When I click the Check box it un checks itself when I go to Check the next box??
2. How do I capture the True or False as (0 or 1) so as to update the DataSet bound to DataGridView?

Some help would be greatly appreciated.

Many Thanks in advance.

Stephan
Posted
Comments
[no name] 29-Aug-12 7:53am    
What's the point of extra column in dataSet when it is not in DB?

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