private void button1_Click(object sender, EventArgs e) { con = new SqlConnection(@"Data Source=(local)\SQLEXPRESS;Initial Catalog=Car Dealership;Integrated Security=True"); con.Open(); SqlDataAdapter sqlDa = new SqlDataAdapter("Select * FROM LotCarID", con); DataTable dtbl = new DataTable(); sqlDa.Fill(dtbl); dataGridView1.DataSource = dtbl; FilterLabel.Show(); LotFilterTB.Show(); con.Close(); }