private void Reporte_Cargar(string IdEmpresa) { ComisionWCFClient objComision = new ComisionWCFClient(); try { cboReporte.DataSource = objComision.combo_Reporte(); cboReporte.DataBind(); cboReporte.Items.Insert(0, new RadComboBoxItem("SELECCIONAR", "0")); cboReporte.SelectedIndex = 0; } catch (Exception ex) { throw ex; } }
private void Reporte_Cargar(string IdEmpresa) { ComisionWCFClient objComision = new ComisionWCFClient(); try { cboReporte.DataSource = objComision.combo_Reporte(); cboReporte.DataBind(); cboReporte.Items.Insert(0, new RadComboBoxItem("SELECCIONAR", "0")); cboReporte.SelectedIndex = 0; } catch (Exception ex) { lblMensaje.Text = ex.Message; lblMensaje.CssClass = "mensajeError"; } }