A
Antonio Policelli
hi, i have a datareader returning a 2 column recordset with multiple
rows what i want to display in a textbox. here is my code. only the
last line shows up in the text box but all gets written to the
console, so i know they are there. I have tried controlchars.crlf,
chr(13), vbcrlf, none worked. what did i do wrong? it is definitely
a multiline text box because at runtime i can type in multiple lines..
Do While drReader.Read
Console.WriteLine(drReader("qty").ToString & " " &
drReader("part").ToString)
Me.txtDetails.Text = drReader("qty").ToString & " " &
drReader("part").ToString & ControlChars.CrLf
Loop
thanks
AP!
rows what i want to display in a textbox. here is my code. only the
last line shows up in the text box but all gets written to the
console, so i know they are there. I have tried controlchars.crlf,
chr(13), vbcrlf, none worked. what did i do wrong? it is definitely
a multiline text box because at runtime i can type in multiple lines..
Do While drReader.Read
Console.WriteLine(drReader("qty").ToString & " " &
drReader("part").ToString)
Me.txtDetails.Text = drReader("qty").ToString & " " &
drReader("part").ToString & ControlChars.CrLf
Loop
thanks
AP!