I have DataGridView with CheckBox Column, its DataSource load from DataBase MS SQL.
There are 2 Button A and B:
- When click on
Button A, theDataSource=DataofTable A. - When click on
Button B, theDataSource=DataofTable B.
I want: when click on Button A and Select some CheckBoxes on DataGridView.
After that, click on Button B then save CheckBoxes are Checked before.
Ex: I click on Button A and Select 5 CheckBoxes. After that, I click on Button B and when I click on Button A again then 5 CheckBoxes are automatically Checked.
Can any one help me to do that?
Thanks everone so much for reading!
Aucun commentaire:
Enregistrer un commentaire