摘要: DataTable dt = new DataTable(); foreach (DataGridViewColumn headerCell in dataGridView1.Columns) { dt.Columns.Add(headerCell.HeaderText); } foreach (DataGridViewRow item in dataGridView1.Rows) { DataR... 阅读全文
posted @ 2010-01-22 12:17 greencolor 阅读(135) 评论(0) 推荐(0) 编辑