Пример #1
0
 private void cargarComboTipoDato()
 {
     Consulta c = new Consulta();
     try
     {
         DropDownListASP.llenarDropDownList(c.consultarTipoDato(), "value", "text", ref this.ddlTipoDato);
         DropDownListASP.AddItemToDropDownList(ref this.ddlTipoDato, "SELECCIONE>>", "-1", true);
         DropDownListASP.selectIndexByValue(ref this.ddlTipoDato, "-1");
     }
     catch (Exception ex)
     {
         Logger.generarLogError(ex.Message, new System.Diagnostics.StackFrame(true), ex);
         this.RadWindowManager1.RadAlert(Utilities.errorMessage(), 400, 200, Utilities.windowTitle(TypeMessage.error_message),
             null, Utilities.pathImageMessage(TypeMessage.error_message));
     }
 }