예제 #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");
     }
 }
예제 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     bussinesCliente = new obCliente();
 }