Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 30-06-2006, 03:11 AM   #1 (permalink)
144
Broken In
 
144's Avatar
 
Join Date: Sep 2004
Location: classified
Posts: 178
Default asp 'replace' string query!


Hi,
I am working on a project where I am really stuck!

formateddata = Replace(formateddata, chr(10), "<br>")
formateddata = Replace(formateddata, " ", "&nbsp;")

all I am trying is to fetch the relevant text from the sql dbase and display in a table!

<tr>
<td width="500" class="Newstext">
<%Response.Write(formateddata)%>
</td>
</tr>

But the page breaks are not coming!The table gets stretched!
whats the problem! Need help urgently!
__________________
On a long enough timeline, the survival rate for everyone drops to zero
144 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 30-06-2006, 10:35 AM   #2 (permalink)
Beware of the innocent
 
ilugd's Avatar
 
Join Date: Dec 2005
Posts: 1,024
Default Re: asp 'replace' string query!

try vbCr instead of chr(10) or use vbCrLf .
ilugd is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clinton
- by ico
- by Charan
- by gohan89

Advertisement




All times are GMT +5.5. The time now is 11:05 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2