Ejemplo n.º 1
0
 public void ExportToExcelUserManagement2(string byRegion, string byApplication)
 {
     if ((byRegion == "--By Region--" && byApplication == "--By Application--") || (byRegion == "" && byApplication == "") || (byRegion != "--By Region--" && byApplication == "--By Application--"))
     {
         ExcelFormatPreparation.FormExceldata(dt1);
     }
     else
     {
         dt1 = usermngdata.ToDataTable(result);
         ExcelFormatPreparation.FormExceldata(dt1);
     }
 }
Ejemplo n.º 2
0
 public void ExportToExcelUserManagement1(string selectdValue)
 {
     if (operation == "Modify" || operation == "Delete" || operation == "Add")
     {
         dt = usermngdata.ToDataTable(res);
         ExcelFormatPreparation.FormExceldata(dt);
     }
     else
     {
         ExcelFormatPreparation.FormExceldata(dt);
     }
 }