private void actualizarListaComanda() { try { if (Comanda.getAll(Frm_Principal.fechaSistema) != null) { dgComanda.DataSource = Comanda.getAll(Frm_Principal.fechaSistema).Tables[0]; } else { Funciones.mError(this, "ERROR AL CARGAR LAS COMANDAS"); } } catch { Funciones.mError(this, "ERROR AL CARGAR LAS COMANDAS"); } }