private void BindDropDown_StreamID() { DropDown_StreamID.Items.Clear(); DropDown_StreamID.DataSource = StreamManagement.GetInstance.GetStreamList(); DropDown_StreamID.DataTextField = "StreamName"; DropDown_StreamID.DataValueField = "StreamID"; DropDown_StreamID.DataBind(); DropDown_StreamID.Items.Insert(0, MicroConstants.DROPDOWNLIST_DEFAULT_ITEMTEXT); }
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(); }