示例#1
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            StoreProcClass spc = new StoreProcClass();

            spc.storeEditParamsID("@getID", Convert.ToInt32(TextBox1.Text));

            spc.storeEditParams("@getName", TextBox2.Text);
            spc.storeEditParams("@getEmail", TextBox3.Text);
            spc.storeEditParams("@getUser", TextBox4.Text);
            spc.storeEditParams("@getPass", TextBox5.Text);
            spc.storeEditParams("@getPic", TextBox6.Text);

            spc.EditData(getConCfg);

            Response.Redirect("~/EditStored.aspx");
        }