回复:(kao_go)数值列怎么把0隐藏,只显示空 Post By:2015/1/29 22:32:00 [显示全部帖子]
清空表中所有数据列为零的值
'按钮的Click代码 '清除掉数值列的零值
For Each dc As DataCol In DataTables(e.Form.TableName).DataCols If dc.IsNumeric Then DataTables(e.Form.TableName).ReplaceFor(dc.Name,Nothing,dc.Name & " = 0") End If Next