When i inserting the data in database then there is facility to the user that in multiline textbox he can write sentence in multiple line.
So when i am populating the same data the database it populate the data like this : fffffffffffffffffffffffffffffff<br /> f<br /> f<br /> f<br /> f<br /> f<br /> f<br /> f<br /> f<br /> <br /> ff<br /> f<br /> f<br /> <br /> <br /> <br /> fff
but i want to remove <, > ,br. For this i have used following code but my purpose is not solved. So how to do that:
txtEditorOpportunity.Text = dbReader["DESCRIPTION"].ToString().Replace("<br/>", "\n");
There is a space in the
<br />tag in your question, so while usingReplacemethod. Try it likeNote the space character between br and / which makes it
<br />and NOT<br/>