Database Search Help?

ChocoFTW

New member
Joined
Dec 23, 2008
Messages
1
Programming Experience
Beginner
Hi, i'm trying to make a database application. It's all working but i'm missing one important function. to search through the database with a simple textbox and button. and then it should move to the found cell.

But i haven't been able to figure out how to do that, and i haven't had any success googling it.

I'm using VB.NET 2008 Express Edition, Windows XP. and using a .SDF database with DatabaseGridView.

While i'm at it, i set 1 column to URL, but then i'm not able to edit it in realtime. So right now i use a separate button to launch the link at the specified cell location. is there any other method?

Thanks in advance..

EDIT:
I read the DW2 but didn't help me...
 
Last edited:
Show all the data in the datagridview

use BindingSource.Find Method (String, Object) (System.Windows.Forms) to find the data and set the selected cell

-

Make the column type to be a linklabel instead of a normal label. In the CellContentClick event handler on the datagridview, examine to see if it is the url column in question and then read the value of the cell and perform your action
 
Back
Top