想在菜单上增加个按钮:实现开启所有加载表的合计功能,请问这样会占用很多电脑资源,影响效率吗?谢谢!
For Each t As Table In Tables For Each c As Col In t.Cols If c.IsNumeric Then t.Cols(c.name).GrandTotal = True '指定要合计的列 End If Next t.GrandTotal = True '显示合计模式 t.DataTable.SysStyles("GrandTotal").BackColor = Color.LightGray Next