I am coding a simple web site and wanting to pull in a text file to a text box but have it recognized html tags like <b> for bold, etc and display it correctly.
Is there a control that I need to use on the ASP.net form. I am using VB .net for my backend.
It's small amount of code to pull the text file:
this will allow me to simply update a text file and not have to update code. But I really want to be able to do HTML display.
Any suggestions is greatly appreciated.
Chris
Is there a control that I need to use on the ASP.net form. I am using VB .net for my backend.
It's small amount of code to pull the text file:
Code:
Dim sr As New StreamReader("impmsg.txt")
Dim line As String
line = sr.ReadToEnd()
txtimp.Text = line
this will allow me to simply update a text file and not have to update code. But I really want to be able to do HTML display.
Any suggestions is greatly appreciated.
Chris