在我的 DataGridView 中,如果该行是索引 0,它无法隐藏一行。
与货币经理职位相关的行不能隐藏
Dim cm1 As CurrencyManager = CType(BindingContext(dgv.DataSource), CurrencyManager)
cm1.SuspendBinding()
dgv.Rows.Item(0).Visible = False 'this throws the exception
在我的 DataGridView 中,如果该行是索引 0,它无法隐藏一行。
与货币经理职位相关的行不能隐藏
Dim cm1 As CurrencyManager = CType(BindingContext(dgv.DataSource), CurrencyManager)
cm1.SuspendBinding()
dgv.Rows.Item(0).Visible = False 'this throws the exception