protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if (Session["UserLogin"] != null) { DataSet ds = GetDetails(); RepeaterDetails.DataSource = ds; RepeaterDetails.DataBind(); ds = GetSkills(); RepeaterSkills.DataSource = ds; RepeaterSkills.DataBind(); ds = GetRequests(); RepeaterRequested.DataSource = ds; RepeaterRequested.DataBind(); ds = GetApplier(); RepeaterRequesters.DataSource = ds; RepeaterRequesters.DataBind(); } else { Response.Redirect("Login.aspx"); } } }
protected void Page_Load(object sender, EventArgs e) { if (Session["UserLogin"] != null) { DataSet ds = GetData(); RepeaterProfile.DataSource = ds; RepeaterProfile.DataBind(); ds = GetSkills(); RepeaterSkills.DataSource = ds; RepeaterSkills.DataBind(); } else { Response.Redirect("Login.aspx"); } }