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
Jump to Post
What 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
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.