private void refreshButton_Click(object sender, EventArgs e) { UserDAO udao = new UserDAO(); udao.getConnection(); //string myQuery; //dt1 = GetData("Select FirstName, LastName from Person.Person"); //dataGridView1.DataSource = bindingSource1; //bindingSource1.DataSource = dt1; }