hi.. i need help in displaying the search result onto the textboxes when i search for eg.a Disc. like when i type the description to search for a disc, the details of the discs which match the description will appear.
how do i go about doing that?
:?:

Recommended Answers

All 3 Replies

Member Avatar for iamthwee

just do textBox1.text = String whatever

Thanks for your reply.. =)
hmm but what codes should i type after the String?

i did the codings below to test and see if the search is able to work but the search result won't display on the textbox. it displays "System.Data.OleDb.OleDbCommand" instead.
can somebody please help me? :icon_sad:

searchStr = New OleDbCommand("select * from Books where Title LIKE searchBookTextBox.Text%")
                TextBox1.Text = searchStr.ToString()
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.