control:- 1 textbox, 1 button, 1 datagridview
write code searchbtn_click event
sqlconnection con=new sqlconnection("Data Source=,; Initial Catalog=database name;uid=sa; pwd=password");
con.open();
da = new sqlDataAdapter("select LSTinIPaddress , LSTOutIPaddress from tablename where computername='" + textbox1.text + "'", con);
ds = new DataSet();
da.Fill(ds);
dataGridView1.DataSource = ds.Tables[0].DefaultView;
con.close();
This is only a sample...plz impliment this code for search file from database...
i think is this possible...
Regard
Sham
:)