private void saveExcelB_Click(object sender, EventArgs e)
 {
     if (infoTC.SelectedIndex == 0)
     {
         el.saveAsExcel(hallDGV);
     }
     if (infoTC.SelectedIndex == 1)
     {
         el.saveAsExcel(facultyDGV);
     }
     if (infoTC.SelectedIndex == 2)
     {
         el.saveAsExcel(deptDGV);
     }
     if (infoTC.SelectedIndex == 3)
     {
         el.saveAsExcel(qoutaDGV);
     }
 }
Пример #2
0
 private void saveEXCELB_Click(object sender, EventArgs e)
 {
     Basic.excel_load el = new Basic.excel_load();
     el.saveAsExcel(dataGridView1);
 }
 private void saveExcelB_Click(object sender, EventArgs e)
 {
     el.saveAsExcel(userInfoDGV);
 }