Example #1
0
        protected void btnAddTitle_Click(object sender, EventArgs e)
        {
            int lessonid = Convert.ToInt32(ddllesson.SelectedValue);

            if (UserBL.AddTitle(txttitle.Text.Trim(), lessonid))
            {
                show = "Add";
                Response.Redirect(Request.RawUrl);
            }
        }