S
sck10
Hello,
When I open a FormView in View mode, the line breaks are missing, but they
show up when I enter edit mode. So I tried to use the following on a
Textbox with a replace function, but got the following error:
Public member 'Replace' on type 'DBNull' not found.
<asp:Label ID="lblArchReviewItem"
Text='<%# Eval("ArchitectReview").Replace(vbcrlf,"<br />").Trim() %>'
runat="server" />
Also, I would looking around and I read that you shouldn't really be using
VbCrlf anymore. Is this true?
Any help with this would be appreciated.
When I open a FormView in View mode, the line breaks are missing, but they
show up when I enter edit mode. So I tried to use the following on a
Textbox with a replace function, but got the following error:
Public member 'Replace' on type 'DBNull' not found.
<asp:Label ID="lblArchReviewItem"
Text='<%# Eval("ArchitectReview").Replace(vbcrlf,"<br />").Trim() %>'
runat="server" />
Also, I would looking around and I read that you shouldn't really be using
VbCrlf anymore. Is this true?
Any help with this would be appreciated.