|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Formatting Table Cell
<i><b>Originally posted by : Mahendra (mahendra@prontomail.com)</b></i><br />Hi,<br /><br />I have a following syntax in my test.asp<br /><br /><TD><%=varPerceivedCustomerValue%></TD> <br /><br />The resulting html displays following when viewed thro' source :<br /><br /><TD >31 32 33<br />31 32 33<br />31 32 33<br />31 32 33<br />31 32 33</TD><br /><br /><br />But the HTML appears as follows : <br /><br /><TD >31 32 33 31 32 33 31 32 33 31 32 33 31 32 33</TD><br /><br />How do I prevent this data from appearing on the same line?<br /><br /><br />Mahendra<br /><br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Mahendra (mahendra@prontomail.com)</b></i><br />Use Replace function as follows :<br /><br />varPerceivedCustomerValue = _<br />rsAccountStatus.Fields(i).Value & "" <br /> <br />varPerceivedCustomerValue = _<br />Replace(varPerceivedCustomerValue, vbCrLf, "<BR>")<br /><br /><br />------------<br />Mahendra at 2/7/00 10:45:57 AM<br /><br />Hi,<br /><br />I have a following syntax in my test.asp<br /><br /><TD><%=varPerceivedCustomerValue%></TD> <br /><br />The resulting html displays following when viewed thro' source :<br /><br /><TD >31 32 33<br />31 32 33<br />31 32 33<br />31 32 33<br />31 32 33</TD><br /><br /><br />But the HTML appears as follows : <br /><br /><TD >31 32 33 31 32 33 31 32 33 31 32 33 31 32 33</TD><br /><br />How do I prevent this data from appearing on the same line?<br /><br /><br />Mahendra<br /><br />
|
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : Steve Schofield (sschofield@aspfree.com)</b></i><br />Thanks for taking time to publish back the answer. this will help others!<br /><br />steve<br />webmaster@aspfree.com<br /><br /><br /><br />------------<br />Mahendra at 2/7/00 2:43:57 PM<br /><br />Use Replace function as follows :<br /><br />varPerceivedCustomerValue = _<br />rsAccountStatus.Fields(i).Value & "" <br /> <br />varPerceivedCustomerValue = _<br />Replace(varPerceivedCustomerValue, vbCrLf, "<BR>")<br /><br /><br />------------<br />Mahendra at 2/7/00 10:45:57 AM<br /><br />Hi,<br /><br />I have a following syntax in my test.asp<br /><br /><TD><%=varPerceivedCustomerValue%></TD> <br /><br />The resulting html displays following when viewed thro' source :<br /><br /><TD >31 32 33<br />31 32 33<br />31 32 33<br />31 32 33<br />31 32 33</TD><br /><br /><br />But the HTML appears as follows : <br /><br /><TD >31 32 33 31 32 33 31 32 33 31 32 33 31 32 33</TD><br /><br />How do I prevent this data from appearing on the same line?<br /><br /><br />Mahendra<br /><br />
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Formatting Table Cell |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|