I have a line in my VB.NET codebehind file that populates a textbox when loaded:
tbEmailContent.Text = record.job_number & "<br>" & record.completed_by & "<br>" & record.ssigned_to
The problem is that it actually shows <br> and does not use differerent lines.
Please advise how I can get the various record parts to show on different lines.
Cheers
John
Textbox control doesnt use HTML
1) set the Textbox control to MultiLine
2) for a linebreak use VbCrLf instead of "<br>"...text & VbCrLf & moretext & VbCrLf...
That should do it.
No comments:
Post a Comment