hi

i need to get input of mail body in textbox. how can i get it formated in html?
plz guide.

thanks in advance.

hi friends.... i solved this by following code.

Dim tmp = Microsoft.VisualBasic.Chr(13)
        TxtBody.Text = Strings.Replace(TxtBody.Text, tmp, "<br>")
        TxtBody.Text = Strings.Replace(TxtBody.Text, " ", "&nbsp;")

Is any other method instead of find and replace...?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.