예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         IIQCareSystem ReportingTables = (IIQCareSystem)ObjectFactory.CreateInstance("BusinessProcess.Security.BIQCareSystem,BusinessProcess.Security");
         ReportingTables.RefreshReportingTables(1);
         Response.Redirect("frmFacilityHome.aspx");
     }
     catch (Exception err)
     {
         MsgBuilder theBuilder = new MsgBuilder();
         theBuilder.DataElements["MessageText"] = err.Message.ToString();
         IQCareMsgBox.Show("#C1", theBuilder, this);
     }
 }
예제 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["AppLocation"] == null || Session.Count == 0 || Session["AppUserID"].ToString() == "")
     {
         IQCareMsgBox.Show("SessionExpired", this);
         Response.Redirect("~/frmlogin.aspx", true);
     }
     try
     {
         IIQCareSystem ReportingTables = (IIQCareSystem)ObjectFactory.CreateInstance("BusinessProcess.Security.BIQCareSystem,BusinessProcess.Security");
         ReportingTables.RefreshReportingTables(1);
         Response.Redirect("frmFacilityHome.aspx");
     }
     catch (Exception err)
     {
         MsgBuilder theBuilder = new MsgBuilder();
         theBuilder.DataElements["MessageText"] = err.Message.ToString();
         IQCareMsgBox.Show("#C1", theBuilder, this);
     }
 }
        protected void btnRefresh_Click(object sender, EventArgs e)
        {
            IIQCareSystem theRptTables = (IIQCareSystem)ObjectFactory.CreateInstance("BusinessProcess.Security.BIQCareSystem,BusinessProcess.Security");

            theRptTables.RefreshReportingTables(1);
        }