コード例 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["user"] == null)
     {
         Response.Redirect("/WebForms/AdminLogin.aspx");
     }
     else
     {
         ApplicationsGridView.DataSource = SQLDataAccess.GetApplications();
         ApplicationsGridView.DataBind();
     }
 }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     apps = RemoteApplication.GetApplications();
     ApplicationsGridView.DataSource = apps;
     ApplicationsGridView.DataBind();
 }