Hi, i got a datagrid that has its gets records from a table in the db.Its workin perfectly well but i want to have a textbox to search and display the records in the datagrid.I guess the change event will come in handy.I really dont know how to go about it.Anyone know how to do it?I greatly appeciate new ideas too.thanx
lasherz2
0
Newbie Poster
Recommended Answers
Jump to Posttry your luck in a vb.net forum...
Jump to PostWhat is the datasource of your datagrid? try to use a query in your datasource, here try this one
set [I]yourDatasource[/I]=[I]yourDatabaseName[/I].Openrecordset("select * from [[I]yourTablename[/I]] where [I]yourFieldnameTobeSearch[/I]='" & Text1.Text & "')
All 6 Replies
PVBert
0
Junior Poster in Training
jireh
3
Posting Whiz
tscpb
0
Newbie Poster
lasherz2
0
Newbie Poster
lasherz2
0
Newbie Poster
tscpb
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.