Hi all,
I am using vs 2005, sql server 2000.
Firstly sorry for the newbie question
I have created a form with a datagridview from a table called tblMembers. when the form opens it displays the data from the table.
I would like to search for a record using a textbox & button. If possible also to select the column in which to search using a combobox or somthing. all fields are a string value that I would want to search i.e. memberID or Surname, you get the drift (I hope!!!)
I have had a good look on the forum and can find a few examples of searching features, but being a newbie I am unable to apply them to my form.
any help or pointers would be greatly appreciated
regards
Tony
I am using vs 2005, sql server 2000.
Firstly sorry for the newbie question
I have created a form with a datagridview from a table called tblMembers. when the form opens it displays the data from the table.
I would like to search for a record using a textbox & button. If possible also to select the column in which to search using a combobox or somthing. all fields are a string value that I would want to search i.e. memberID or Surname, you get the drift (I hope!!!)
I have had a good look on the forum and can find a few examples of searching features, but being a newbie I am unable to apply them to my form.
any help or pointers would be greatly appreciated
regards
Tony