This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 在DOT NET 里 如何把 DataGrid 的显示内容清空,也就是如何把其DATASOURCE 设置为空,这里的DATAGRID 类 是在system.windows.form.datagrid.
-bobo123(bobo);
2004-10-3
(#1913540@0)
-
DataGrid.Items.Clear() ?
-awei(working hard);
2004-10-3
(#1913559@0)
-
不对。system.windows.forms.datagird 类 没有 item 属性
-bobo123(bobo);
2004-10-3
(#1913561@0)
-
xgrid.datasource=null;
-henhen(亨亨 ^_*);
2004-10-3
(#1913612@0)
-
谢谢。还有个问题,根据已知的ROW 和 COL,如何获取DATAGRID 某个CELL 内容。
-bobo123(bobo);
2004-10-3
(#1914111@0)
-
go read some MSDN docs.
-guestagain(guest again);
2004-10-3
(#1914122@0)
-
再次感谢。不过英文不好,看不大懂
-bobo123(bobo);
2004-10-3
(#1914129@0)
-
Then forget it. here is the Chinese one.
-guestagain(guest again);
2004-10-3
(#1914141@0)
-
got it. you are very nice.
-bobo123(bobo);
2004-10-3
(#1914164@0)