01 2012 档案

摘要:private void button5_Click_1(object sender, Reenters e) { //watercolorist Excel.Application excel = new Excel.Application(); excel.Application.Workbooks.Add(true); //生成字段名称 for (int i = 0; i < dataGridView2.ColumnCount; i++) { excel.Cells[1,i + 1] = dataGridView2.Columns[i].HeaderText; if (y == 0 阅读全文
posted @ 2012-01-29 10:02 shyscool 阅读(708) 评论(0) 推荐(1) 编辑