Пример #1
0
        protected void btnAddChapter_Click(object sender, EventArgs e)
        {
            int subjectid = Convert.ToInt32(ddlsubject1.SelectedValue);

            if (UserBL.AddChapter(txtchapter.Text.Trim(), subjectid))
            {
                show = "Add";
                Response.Redirect(Request.RawUrl);
            }
        }