-
June 17th, 2011, 08:44 AM
#1
insert new line ADO recordset to string
Hello
I currently am trying to display recordsets as HTML tables. So far I have succeeded in storing the recordset data in a string and writing it as HTML. For this i have used the GetString() method. I have used code from w3schools for this purpose. The code i am using is as follows:
str=rs.GetString(,,"</td><td>","</td></tr><tr><td>"," ")
%>
<table border="1" width="100%">
<tr>
<td><%Response.Write(str)%></td>
</tr>
</table>
rs is the recordset here.
But the HTML table generated does not have the line breaks that was inserted when inserting data into the sql table. Please help.
Tags for this Thread
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
|