/// <summary> /// List the PostTypes Based On Form /// </summary> /// <param name="form">The form.</param> /// <returns> /// The typed dataset containing the PostType Items /// </returns> public static F1033SpecialDistrictSelectionData ListPostTypes(int?form) { F1033SpecialDistrictSelectionData postTypesData = new F1033SpecialDistrictSelectionData(); Hashtable ht = new Hashtable(); ht.Add("@Form", form); Utility.LoadDataSet(postTypesData.ListPostType, "f1000_pclst_PostType", ht); return(postTypesData); }
/// <summary> /// List the Special Districts /// </summary> /// <param name="district">district</param> /// <param name="rollYear">rollyear</param> /// <param name="description">description</param> /// <param name="postTypeId">postTypeID</param> /// <returns>The Typed Data Set Contains Listof SpecialDistricts Items</returns> public static F1033SpecialDistrictSelectionData ListSpecialDistricts(int?district, int?rollYear, string description, int?postTypeId) { F1033SpecialDistrictSelectionData specialDistrictsData = new F1033SpecialDistrictSelectionData(); Hashtable ht = new Hashtable(); ht.Add("@District", district); ht.Add("@RollYear", rollYear); ht.Add("@Description", description); ht.Add("@PostTypeID", postTypeId); Utility.LoadDataSet(specialDistrictsData.ListSpecialDistrict, "f1033_pclst_DistrictSelection", ht); return(specialDistrictsData); }