Esempio n. 1
0
 private void cboCiudad_SelectedIndexChanged(object sender, Telerik.WinControls.UI.Data.PositionChangedEventArgs e)
 {
     oCatalogos = new WCF_Catalogos.Hersan_CatalogosClient();
     try {
         if (cboCiudad.SelectedValue != null)
         {
             oColonia = oCatalogos.ABCColonias_Obtener(int.Parse(cboEstado.SelectedValue.ToString()), int.Parse(cboCiudad.SelectedValue.ToString()));
             cboColonia.ValueMember   = "Id";
             cboColonia.DisplayMember = "Nombre";
             cboColonia.DataSource    = oColonia;
         }
     } catch (Exception ex) {
         throw ex;
     } finally {
         oCatalogos = null;
     }
 }