Beispiel #1
0
        private void txtLugar_KeyPress(object sender, KeyPressEventArgs e)
        {
            z_carros carros = new z_carros();

            if (txtLugar.Text == "")
            {
                ListarUbicacionesAll();
            }
            else
            {
                lbResultados.Items.Clear();
                foreach (DataRow row in carros.FiltroUbicacion614(txtLugar.Text.ToUpper()).Tables[0].Rows)
                {
                    lbResultados.Items.Add(row["ubicacion"].ToString());
                }
            }
        }