예제 #1
0
 private void BindTaxRegion()
 {
     dlStateList.DataSource   = CSFactory.GetTaxByCountry(countryId);
     dlStateList.DataKeyField = "RegionId";
     dlStateList.DataBind();
 }
        /// <summary>
        /// Retrieve data that is going to be stored in cache
        /// </summary>
        /// <returns>OrgUnitTable (must cast to Cornerstone.Data.Common.OrgUnitTable)</returns>
        protected override object GetData()
        {
            List <TaxRegion> list = CSFactory.GetTaxByCountry(-1);

            return(list);
        }