private void CargarLecturador() { DataTable dtL = new DataTable(); neg_Lecturador_Servidor objL = new neg_Lecturador_Servidor(); dtL = objL.Buscar_Todos(); CargarComboBox(ref cmbLecturador, dtL, "Id"); }
private void mnuMostrarTodos_Click(object sender, EventArgs e) { DataTable dt = new DataTable(); //neg_Lecturador_Movil objL = new neg_Lecturador_Movil(); neg_Lecturador_Servidor objL = new neg_Lecturador_Servidor(); dt = objL.Buscar_Todos(); dgvLecturador.DataSource = dt; }