OnClicked event of search button
* Get the record no from the textbox
* Write LInQ to fetch the result set based on record no
* Map the result of LInQ into DataSource property of datagridview control
private void mySearchButton_Click(object sender, System.EventArgs e)
{
int recordNo = Convert.ToInt32(textbox1.text);
var query = from table in dbtable
where dbkey == recordNo
select table;
datagridview1.datasource = query.ToList();
}