我有一個文本框,其中我必須在stringbuilder中編寫內容。 以下是我的stringbuilder。如何將stringbuilder的內容寫入文本框
Dim strString As New StringBuilder()
strString.AppendLine("<table>")
strString.AppendLine("<tr><td>")
strString.AppendLine("<br/><br/>")
strString.AppendLine("<div style=""text-transform: capitalize;""><strong>Dear " & Session("PatientName") & ",")
strString.AppendLine("</strong></div></td></tr>")
strString.AppendLine("<br/><br/>")
strString.AppendLine("<tr><td>")
strString.AppendLine("Your appointment has been confirmed.")
strString.AppendLine("<br /><br />")
strString.AppendLine("Your appointment Time: " + Session("AppTime"))
strString.AppendLine("<br />")
strString.AppendLine("Your appointment Date: " + Session("AppointmentDate"))
strString.AppendLine("</td></tr>")
strString.AppendLine("<tr><td>")
strString.AppendLine("<br/><br/>")
strString.AppendLine("</table>")
我用textbox.text = strString.ToString(),但在html標籤R還顯示。 我想寫在textbox.What代碼我要寫,以刪除html標籤,我想寫在上面給出的html格式?
你的HTML。 – 2009-04-29 10:09:10