Пример #1
0
 private void BindProvince()
 {
     try
     {
         DataTable dtProvince = new DataTable();
         dtProvince = new Rc.Cloud.BLL.BLL_DictForHospital().GetHospitalRegional(" D_PartentID='' ").Tables[0];
         Rc.Cloud.Web.Common.pfunction.SetDdl(ddlProvince, dtProvince, "D_Name", "Regional_Dict_ID", "--请选择--");
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
 private void BindCity()
 {
     try
     {
         string    province = ddlProvince.SelectedValue;
         DataTable dtCity   = new DataTable();
         dtCity = new Rc.Cloud.BLL.BLL_DictForHospital().GetHospitalRegional(" D_PartentID='" + province + "' ").Tables[0];
         Rc.Cloud.Web.Common.pfunction.SetDdl(ddlCity, dtCity, "D_Name", "Regional_Dict_ID", "--请选择--");
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }