i am trying to display a DB infos into a textbox.
This my code
sqlstr ="SELECT Description, Price FROM T_barcode WHERE Barcode ='" & Text1.Text & "'"
Text2.Text = rec.Fields("Description")
Text3.Text = rec.Fields("price")
and iam recieving this "Item cannot be found in a collection corresponding to the requested name or ordinal"
barcode,description and price are my table fields.
can anybody tell me what's wrong in my code?