private void BindDropdown_SessionID(string SearctText) { List <AccountingYear> AccountingYearlist = new List <AccountingYear>(); AccountingYearlist = AccountingYearManagement.GetInstance.GetAccountingYearList(SearctText); DropDown_SessionID.DataSource = AccountingYearlist; DropDown_SessionID.DataValueField = "AccountingYearID"; DropDown_SessionID.DataTextField = "AccountingYearDescription"; DropDown_SessionID.DataBind(); }
public void ResetAll() { txt_SubjectName.Text = string.Empty; DropDown_SubjectTypeName.ClearSelection(); DropDown_QualID.ClearSelection(); DropDown_ClassID.ClearSelection(); DropDown_StreamID.ClearSelection(); txt_SubjectFullMark.Text = string.Empty; DropDown_Staff.SelectedIndex = MicroConstants.NUMERIC_VALUE_ZERO; chk_SubjPratical.Checked = false; txt_SubjectPracticalMark.Text = string.Empty; DropDown_SessionID.ClearSelection(); }