动态修改DataTable中某列的值并绑定到DataGridView
摘要:
DataTable dt = igmbll.getAllVWShopGoodsPurMas(); foreach (DataRow Row in dt.Rows) { Row[4] = Convert.ToDecimal(Row[4].ToString()); dgvVWShopGoodPurMas.Rows.Add(Row.ItemArray);// } this.dgvVWShopGoodPurMas.DataSource = dt; 阅读全文
posted @ 2011-06-24 15:20 悟生慧 阅读(2076) 评论(0) 推荐(0) 编辑