Hi all,
I use vb.net and datagridview BindingSource. I want to build a two button, One is visable false all rows, other one is visable true.
But i don't know how can finish it. The below code show error message, (Cannot visable Currency position about relation rows).
How can i do. Thank you !!!
DataGridViewRowVisable(False)
Private Sub DataGridViewRowVisable(ByVal b As Boolean)
Dim row As DataGridViewRow
For Each row In AccessrightDataGridView.Rows
row.Visible = b
Next
End Sub