예제 #1
0
        protected void btnSubmitCategory_Click(object sender, EventArgs e)
        {
            clsBusinessLayer c = new clsBusinessLayer
            {
                CategoryName = txtCategoryNm.Text
            };

            c.addCategory();
            txtCategoryNm.Text = string.Empty;
            Response.Redirect("~/Admin/AddProducts.aspx");

        } /* btnSubmitCategory_Click() */