Ejemplo n.º 1
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            StoreProcClass spc = new StoreProcClass();

            spc.storeDeleteParams("@id", Convert.ToInt32(TextBox1.Text));

            spc.DeleteData(getConCfg);

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