protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            dt = all.showpagecontentP("homecontent");
            if (dt.Rows.Count > 0)
            {
                //lblwhoamiHead1.Text = dt.Rows[0]["heading1"].ToString();
                //lblwhoamiHead2.Text = dt.Rows[0]["heading2"].ToString();
                //lblwhoamidesc.Text = dt.Rows[0]["content"].ToString();
                //lblabouthome.Text = dt.Rows[0]["content"].ToString();
                lblhd1.Text = dt.Rows[0]["heading1"].ToString();
                lblhd2.Text = dt.Rows[0]["heading2"].ToString();
                lblhd3.Text = dt.Rows[0]["content"].ToString();
            }



            rptfeatures.DataSource = bind_features();
            rptfeatures.DataBind();

            Rptabotsrvc.DataSource = all.aboutservices();
            Rptabotsrvc.DataBind();

            rptrteam.DataSource = all.Team();
            rptrteam.DataBind();
            Rpttesti.DataSource = all.Testimonial();
            Rpttesti.DataBind();
            rptrprtnt.DataSource = all.prtner();
            rptrprtnt.DataBind();

            RptImage.DataSource = all.showpagecontentP("homecontentimg");
            RptImage.DataBind();
        }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            show_aboutheading();
            show_promise();
            show_aboutus();
            Rpttesti.DataSource = bind_testi();
            Rpttesti.DataBind();

            Rptclientlogos.DataSource = bind_clientlogos();
            Rptclientlogos.DataBind();
        }
    }
Esempio n. 3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            dt = all.showpagecontentP("AboutUs");
            if (dt.Rows.Count > 0)
            {
            }



            Rpttesti.DataSource = all.Testimonial();
            Rpttesti.DataBind();
        }
    }
Esempio n. 4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            //Menu M = (Menu)this.Master.FindControl("NavigationMenu");
            //foreach (MenuItem item in M.Items)
            //{
            //    if (item.Text == "Default")//Replace Home with the page name
            //    {
            //        item.Selected = true;
            //    }
            //}



            show_about();

            Rptservices.DataSource = bind_Services();
            Rptservices.DataBind();

            Rptteam.DataSource = bind_team();
            Rptteam.DataBind();

            //Rptgallery.DataSource = bind_gallery();
            //Rptgallery.DataBind();

            Rpttesti.DataSource = bind_testi();
            Rpttesti.DataBind();

            Rptclientlogos.DataSource = bind_clientlogos();
            Rptclientlogos.DataBind();

            //Rptcounter.DataSource = bind_count();
            //Rptcounter.DataBind();

            //Rptmainproducts.DataSource = bind_Product();
            //Rptmainproducts.DataBind();
        }
    }