private void Llenar_cboZonaGeo() { ENResultOperation R = ClsZona_GeograficaBC.ListarTodos(""); cboZonaGeo.DataSource = (DataTable)R.Valor; cboZonaGeo.DisplayMember = "ZONA_GEO_NOMBRE"; cboZonaGeo.ValueMember = "ZONA_GEO_IDE"; cboZonaGeo.AutoCompleteMode = AutoCompleteMode.Suggest; cboZonaGeo.AutoCompleteSource = AutoCompleteSource.ListItems; }
private void Mostrar_dgv(string filtro) { DataTable TEMP = new DataTable(); ENResultOperation R = ClsZona_GeograficaBC.ListarTodos(filtro); if (R.Proceder) { dgvListado.DataSource = (DataTable)R.Valor; TEMP = (DataTable)R.Valor; } else { MessageBox.Show("Error al Obtener Valores : " + R.Sms); } }