I am writing a WinForms application in VB.Net with MSDE.
I have a form, which contains a datagrid and a textbox. By default, the datagrid Rows are sorted by the client's surname. What I want to do is to take the contents of the textbox and use this to select and scroll to the corresponding value in the 'Surname' column of the datagrid.
Eg. User types in "Smith" in the textbox, and immediately (on textbox1.TextChanged, say) the datagrid scrolls to the first "Smith".
Does anyone have any sample code for this?
Thanks in advance...