protected void BtnSubmit_Click(object sender, EventArgs e) { obj_BAL_Student_Dashboard = new Student_DashBoard_BLogic(); obj_Student_Dashboard = new StudentDash(); obj_Student_Dashboard.BMSID = Convert.ToInt64(Session["BMSID"]); obj_Student_Dashboard.SubjectID = Convert.ToInt16(Session["SubjectID"]); obj_Student_Dashboard.StudentID = Convert.ToInt64(Session["StudentID"]); obj_Student_Dashboard.ChapterID = Convert.ToInt64(ddlChapter.SelectedValue); obj_Student_Dashboard.TopicID = Convert.ToInt64(ddlTopic.SelectedValue); int result = obj_BAL_Student_Dashboard.BAL_Insert_Rescheduling_BMSSCT(obj_Student_Dashboard); if (result == ((int)EnumFile.AssignValue.One)) { WebMsg.Show("Submit Query Successfully."); Applied_Chapter_Topics(); } else if (result == ((int)EnumFile.AssignValue.Zero)) { WebMsg.Show("This Chapter, Topic are allready requested for Rescheduling."); } DropDownList[] disddl3 = { ddlChapter, ddlTopic }; DisableDropDwon(disddl3); DropDownList[] disddl = { ddlChapter }; EnableDropDwon(disddl); }