dt=(datatable)this.datagridview.datasource; ... if(datagridview1.rows.count>0)另外就是如果不存在你要取值的列的時候,也是要出錯的,比如你上面 ...
確定! 回上一頁