private void searchButton_Click(object sender, EventArgs e) { var attr = searchBox.Text.ToString(); var result = PersonTable.SelectByParameter(attr); refreshRows(result); }