Exemplo n.º 1
0
        protected void BtnSearch_Click(object sender, EventArgs e)
        {
            Page.ClientScript.RegisterStartupScript(this.GetType(), "JsFunc", "Setsize()", true);
            int       fellowshipID = Convert.ToInt32(dpFellowship.SelectedValue);
            DataTable dt           = CobcYouthDAL.GetSpiritGrowPlan(fellowshipID);

            GridViewPlan.DataSource = dt;
            GridViewPlan.DataBind();
        }
Exemplo n.º 2
0
        protected void BtnSearch_Click(object sender, EventArgs e)
        {
            if (!ClientScript.IsStartupScriptRegistered("JsFunc_Setsize"))
            {
                Page.ClientScript.RegisterStartupScript(this.GetType(), "JsFunc_Setsize", "Setsize();", true);
            }
            int       fellowshipID = Convert.ToInt32(dpFellowship.SelectedValue);
            DataTable dt           = CobcYouthDAL.GetSpiritGrowPlan(fellowshipID);

            GridViewPlan.DataSource = dt;
            GridViewPlan.DataBind();
            Session["Test_dtmember"] = dt;
        }