Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if ((Session["UserID"] != null) && (Session["OCode"] != null))
     {
         if (!Page.IsPostBack)
         {
             stCompany = aStoreBll.GetCentralCompany();
             foreach (DataRow dr in stCompany.Rows)
             {
                 CentralCode = dr["CompanyCode"].ToString();
                 CompanyType = dr["CompanyType"].ToString();
             }
             // FillCompany();
             GetAllStore();
             txtDate.Text = DateTime.Today.ToShortDateString();
         }
     }
     else
     {
         Response.Redirect("..\\AppGateway\\Login.aspx");
     }
 }