Exemplo n.º 1
0
        public List <CityArea> GetCityAreaAllList(int ParentID)
        {
            List <CityArea> lstCityArea = new List <CityArea>();
            CityAreaDAL     CityAreadal = new CityAreaDAL();

            lstCityArea = CityAreadal.GetCityAreaAllList(ParentID);
            return(lstCityArea);
        }
Exemplo n.º 2
0
        public string GetCityAreaName(int ID)
        {
            string      strCityArea = "";
            DataSet     ds          = new DataSet();
            CityAreaDAL CityAreadal = new CityAreaDAL();

            ds = CityAreadal.GetCityAreaName(ID);
            if (ds.Tables[0].Rows.Count > 0)
            {
                strCityArea = ds.Tables[0].Rows[0][0].ToString();
            }
            else
            {
                strCityArea = "";
            }

            return(strCityArea);
        }