Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         txtheading.Text = all.showpagecontent("testimonial");
         BindEmployeeDetails();
     }
 }
Exemple #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Session["insurance"] != null)
            {
                //Editor1.Content = all.showpagecontent("general");

                Image1.ImageUrl = all.showpagecontent("headerlogo");

                //dt = all.showpagecontentP("general");
                //if(dt.Rows.Count > 0)
                //{
                //    txtheading1.Text = dt.Rows[0]["heading1"].ToString();
                //    txtheading2.Text = dt.Rows[0]["heading2"].ToString();
                //}
            }
            else
            {
                Response.Redirect("../login/Default.aspx");
            }
        }
    }