Hi,

How can we format text generated from the database and use response.write to
show on an ASP page?

Attached are a sample code for your reference:

response.write "  "
next
end if
response.write "<a HREF=""products.asp?id=" & id & "&amp;cat=" &
Server.URLEncode(name) & """>" & name & "</a>" & "<br>" & vbcrlf

Many thanks.

Re: How to format text generated by database and use response.write? by Ronx

Ronx
Sun Jul 17 03:44:06 CDT 2005

One way:

response.write "&nbsp;&nbsp;"
next
end if
%>
<!-- use CSS or <font> tags to format the hyperlink -->
<a HREF="products.asp?id=<%=
id%>&amp;cat=<%=Server.URLEncode(name)%>"><%=name%></a><br>
<!--more HTML -->
<% 'next line of asp code
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

"xfile" <cou-cou@remove.nospam.com> wrote in message
news:Oh5UaNniFHA.3436@tk2msftngp13.phx.gbl...
> Hi,
>
> How can we format text generated from the database and use
> response.write to show on an ASP page?
>
> Attached are a sample code for your reference:
>
> response.write "&nbsp;&nbsp;"
> next
> end if
> response.write "<a HREF=""products.asp?id=" & id & "&amp;cat=" &
> Server.URLEncode(name) & """>" & name & "</a>" & "<br>" & vbcrlf
>
> Many thanks.
>
>
>



Re: How to format text generated by database and use response.write? by xfile

xfile
Sun Jul 17 05:17:31 CDT 2005

Hi,

Many thanks for your kind reply, and will study it :)


"Ronx" <ronx917@hotmail.com> ¼¶¼g©ó¶l¥ó·s»D:eSLKzuqiFHA.3216@TK2MSFTNGP10.phx.gbl...
> One way:
>
> response.write "&nbsp;&nbsp;"
> next
> end if
> %>
> <!-- use CSS or <font> tags to format the hyperlink -->
> <a HREF="products.asp?id=<%=
> id%>&amp;cat=<%=Server.URLEncode(name)%>"><%=name%></a><br>
> <!--more HTML -->
> <% 'next line of asp code
> --
> Ron Symonds
> Microsoft MVP (FrontPage)
> Reply only to group - emails will be deleted unread.
>
> "xfile" <cou-cou@remove.nospam.com> wrote in message
> news:Oh5UaNniFHA.3436@tk2msftngp13.phx.gbl...
>> Hi,
>>
>> How can we format text generated from the database and use response.write
>> to show on an ASP page?
>>
>> Attached are a sample code for your reference:
>>
>> response.write "&nbsp;&nbsp;"
>> next
>> end if
>> response.write "<a HREF=""products.asp?id=" & id & "&amp;cat=" &
>> Server.URLEncode(name) & """>" & name & "</a>" & "<br>" & vbcrlf
>>
>> Many thanks.
>>
>>
>>
>
>