private void btnsearch_Click(object sender, EventArgs e) { //Get Data PersonV2 temp = new PersonV2(); //Perform the search we created in EBook class and store the returned dataset DataSet ds = temp.SearchPerson(txtFirst.Text, txtLast.Text); //Display data (dataset) dgvResults.DataSource = ds; //point datagrid to dataset dgvResults.DataMember = ds.Tables["Search_Temp"].ToString(); // What table in the dataset? }