public HtmlSelect FillDistrict(string StateID, string District, int i)
        {
            DataTable dt = new DataTable();

            dt = InstituteRepository.stateWiseDistricts(StateID, "E");
            HtmlSelect hDistrict = new HtmlSelect();

            hDistrict.ID = District;
            hDistrict.Attributes.Add("class", "selectbox");
            if (i == 0) //for all drop downs except for 'OfficeIncharge' in OtherInformation
            {
                hDistrict.Attributes.Add("onchange", "FillTalukaDD(this.value);");
            }
            else      //for drop down of 'OfficeIncharge' in OtherInformation
            {
                hDistrict.Attributes.Add("onchange", "FillTalukaDDSec(this.value);");
            }
            clsCommon common = new clsCommon();

            common.fillDropDown(hDistrict, dt, "", "Text", "Value", "---- Select ----");
            dt.Dispose();
            return(hDistrict);
        }