更新时间:2022-11-16 09:56:39
看看 Computed Columns [ ^ ]
或单元格事件 [ ^ ]
帮助你。
如果你真的需要按钮更新,请尝试调用Datagridview2.Refresh和/或Aftervalidate循环结束。
See if Computed Columns[^]
or Cell events [^]
help you.
If you really need on button update, try calling Datagridview2.Refresh and/or Invalidate after the loop finishes.
Howdy All,
在for循环后尝试这个:
Dim cm作为CurrencyManager = Direct Cast(datqaGridView2.BindingContext(dataGridView2.DataSource),_ CurrencyManager)
cm.Refresh()
regs, b $ b
ron O。
Howdy All,
Try this after the for loop:
Dim cm As CurrencyManager = DirectCast(datqaGridView2.BindingContext(dataGridView2.DataSource), _ CurrencyManager)
cm.Refresh()
regs,
ron O.