Beispiel #1
0
        protected void Button2_Click(object sender, EventArgs e)
        {
            ProductDAL product = new ProductDAL();

            product.Name = TextBox2.Text;
            if (!product.Deleterecord())
            {
                Response.Write("Product name is not saved");
            }
        }