Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e) {
     bussinesCliente = new obCliente();
     try {
         if (((AdministrativoEntity) Session["UserID"]) != null && ((AdministrativoEntity)Session["UserID"]).Acceso == 2) {
             MostrarAdministrativos();
             MostrarClientes();
         } else {
             Response.Redirect("Login.aspx");
         }
     } catch(InvalidCastException ic) {
         Response.Redirect("Principal.aspx");
     }
 }
Beispiel #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     bussinesCliente = new obCliente();
 }