private void btnExport_Click(object sender, EventArgs e) { //dataGridView1.DataSource = SqlTsk.GetTable("procGetSymData 'GCVN'"); dataGridView1.DataSource = SqlTsk.GetTable("procGetInstData"); ExlAddin.Write2Exl exportWork = new ExlAddin.Write2Exl(); exportWork.WriteInExl(mkExportSht()); }