Posted on: 10/5/2014 8:58:42 AM | Views : 445

i have a function called textareaformat in a different code..
is there any function like this in C#.net?
this is what it does....
temp is input string.
when i query large data in database...this function format and display data in nice readable format.
how can i do same thing in C#?
 temp = replace(temp,chr(13)&chr(10)&chr(13)&chr(10),"<p>" temp = replace(temp,chr(13)&chr(10),"<br>"  temp = replace(temp,chr(32)&chr(32)&chr(32),"&nbsp;&nbsp;&nbsp;"   temp = replace(temp,chr(9),"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"

Go to the complete details ...