|
-
January 31st, 2003, 11:25 AM
#1
Can someone help me translate this?
<%# databinder.eval(container.dataitem, "c_account_info").ToString.Replace(ControlChars.CrLf, "<br/>") %>
This basically takes any carriage returns in the database field and replaces them with html <br> characters. It's easy to do in VB, but can anyone help me convert this into c#? I've poured over the MSDN documentation and my O'Reilly reference, and I simply can't find any C# equivalent to "ControlChars.CrLf."
Any help would be great!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|