摘要:
今天 做一个小程序 ,遇到了这样一个 问题就是 怎样简单的 遍历一个 DataTable一、DataTable table= DBhelper.GetDataTable(str);foreach( DataRow row in table.Rows )//得到行集合{ foreach( object col in row.ItemArray )//得到列集合 { MessageBox.Show(col.ToString()); }}二、DataTable tempTable = DBhelper.GetDataTable(str);foreach( DataRow row in tempTab 阅读全文
posted @ 2014-03-08 18:16
kanek
阅读(11666)
评论(0)
推荐(0)
摘要:
推荐 使用第二种,第一种有时候不起作用第一种:通过find方法 获取RadioButtonList所选中的值第二种:HTML: 性别 1 2 3 ... 阅读全文
posted @ 2014-03-08 12:14
kanek
阅读(3192)
评论(0)
推荐(0)

浙公网安备 33010602011771号