Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

carriage return-New Line 1

Status
Not open for further replies.

nnmmss72

Programmer
May 14, 2006
110
IR
when i fill a field by a text which contains "new line" (carriage return) like

1-a
2-b
3-c

but when i try to fetch that field into a label what i see ,is that
1-a2-b3-c

in asp, when i fetch the field , i just replace the carriage return with "<br>" and then displayed the new value of field, so i could always see the right value, but isn't there any solutin for that in .net/C#?
 
You can still use the Replace command in .NET


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top