Beispiel #1
0
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         if (dt.Columns.Count > 0)
         {
             ExportData newExport = new ExportData();
             newExport.ExportToExcel(dt, saveFD);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Beispiel #2
0
 private void btnExport_Click(object sender, EventArgs e)
 {
     try
     {
         if (dt.Columns.Count > 0)
         {
             ExportData newExport = new ExportData();
             newExport.ExportToExcel(dt, saveFD);
         }
         else
         {
             MessageBox.Show("There is no record to save", "View Loans", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Beispiel #3
0
        private void btnExport_Click(object sender, EventArgs e)
        {
            ExportData exportSavingsDetails = new ExportData();

            //exportSavingsDetails.ExportToExcel(lstDeductions, saveFD);
        }
Beispiel #4
0
        private void btnExportExcel_Click(object sender, EventArgs e)
        {
            ExportData exportDeductions = new ExportData();

            exportDeductions.ExportToExcel(dt, saveFD);
        }
Beispiel #5
0
        private void btnExportSavingsDetails_Click(object sender, EventArgs e)
        {
            ExportData exportSavingsDetails = new ExportData();

            exportSavingsDetails.ExportToExcel(dtSavingsDetails, saveFD);
        }