: In my table i have a row called barcode. I need to find barcode 456456, and display the rows information in a Textbox?
:
: Can anyone help, just a beginner.
:
Hi,
I guess you have table with several rows and there exist column "BarCode" in your table.
For Each r As DataRow In MyTable.Rows
txtBarCodes.Text &= CStr(r("BarCode")) & vbNewLine
Next
Loop throught each Row in Rows of table, get value of r("BarCode"), convert it to string by CStr - CStr(r("BarCode")) and add new line separator (set txtBarCodes.MultiLine=True)
Hope this helps
Pavlin II[/size]
Don't take life too seriously anyway you won't escape alive from it!