please, am new to vb.net, i have a project and i want to use a textbox as a search box to search through the data on the datagrid view on my form. please kindly assist
tracemic
0
Newbie Poster
Recommended Answers
Jump to Postu can write in the textbox textchange event with the sql query using the like condition....
'Open Connection Try Dim myCommand As New OleDbCommand With myCommand .CommandText = "SELECT ID , (FirstName +' '+LastName) as Name FROM TableName where ID like '" & Textbox1.Text & "%" + …
All 2 Replies
Reply to this topic
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.