in my combo box, I checked use data bound items and I think I properly set the necessary things... also I have retrieve button that has this statement

strsql = "select * from books where title='" & cmbTtle.SelectedValue & "'"

and the error is type character '&' does not match declared data type 'object'
anyone knows how to solve this error?
thanks so much :)

strsql = "select * from books where title='" & cmbTtle.SelectedValue.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.