Exemple #1
0
 public static BDHelper getBDHelper()
 {
     if (instance == null)
     {
         instance = new BDHelper();
     }
     return(instance);
 }
Exemple #2
0
 private void frmCliente_Load(object sender, EventArgs e)
 {
     llenarCombo(cmbTipoDni, BDHelper.getBDHelper().ConsultaSQL("SELECT * FROM TipoDni WHERE idTipoDni >= 1"), "descripcion", "idTipoDni");
     btnEliminar.Enabled  = false;
     btnModificar.Enabled = false;
 }