Hi
I have an access database with 2 columns in my app. Both columns have checkboxes.
In my Datagridview:
If a checkbox in column A is not clicked I want the corresponding cell in column B to be disabled or hidden. (Only the cell and not the whole row) Not sure how to do this though.
And if it is clicked I want the corresponding cell to be enabled on the other column. (Column B)
I tried:
Any help would be appreciated.
Thanks
I have an access database with 2 columns in my app. Both columns have checkboxes.
In my Datagridview:
If a checkbox in column A is not clicked I want the corresponding cell in column B to be disabled or hidden. (Only the cell and not the whole row) Not sure how to do this though.
And if it is clicked I want the corresponding cell to be enabled on the other column. (Column B)
I tried:
VB.NET:
For Each row As DataRow In MydbDataSet.Table1.Rows
If CBool(row("MyColumnA")) Then
'but not sure what to do here...
End If
Any help would be appreciated.
Thanks