protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["LoginId"] == null)
     {
         Response.Redirect("../Login");
     }
     else
     {
         int id = DbMethod.GenerateId("ProjectId", "Project");
         LblPojectId.Text = id.ToString();
     }
 }
Exemple #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["LoginId"] == null)
     {
         Response.Redirect("../Login");
     }
     else
     {
         int id = DbMethod.GenerateId("questionId", "Forums");
         qIdLbl.Text = id.ToString();
     }
 }