Beispiel #1
0
 private void visualButton3_Click(object sender, EventArgs e)
 {
     Method.DgvToTable(this.skinDataGridView1);
     Method.DataTableToExcel(Method.DgvToTable(this.skinDataGridView1), "Sheet1", true);
     Method.importtodatabase(skinDataGridView1);   //采集数据导入数据库。
 }
Beispiel #2
0
 private void button5_Click(object sender, EventArgs e)
 {
     Method.DgvToTable(this.dataGridView1);
     Method.DataTableToExcel(Method.DgvToTable(this.dataGridView1), "Sheet1", true);
 }
Beispiel #3
0
 private void visualButton3_Click(object sender, EventArgs e)
 {
     Method.DataTableToExcel(Method.DgvToTable(dataGridView1), "Sheet1", true);
 }