|
 |
asp_databases thread: Re: to add html in feild
Message #1 by "Edward Hunter" <erhunter@c...> on Mon, 13 May 2002 19:18:18
|
|
That wont actually work, but it's close. You have to encapsulate the
rs("details") tag in <% %> otherwise it will just write out the actual
code and not the rs result.
This should work:
Response.Write "<br><b>" & rs("details") & "</b>"
You can also use straight HTML and not use the response write at all like
so:
<br><b><%=rs("details")%></b> <--not sure if you even need the '=' sign..
I bet thats what Santhi meant anyway. :)
Warm Regards,
Edward Hunter
> Hi,
> When u r displaying the fields give like this
> Response.Write"<br><b>rs("details")</b>"
> regards,
s> anthi
> >
h> ello,
> i want to use html tag in the content of a record.This
w> ill create a html page on net (which use this html tag containg
r> ecord to delevop page with htmlfeature).How could i do this?
f> or exp.-
l> et's take a table named 'table1'
c> ontaing three feilds-'id','name','details'
n> ow this 'detials' feild has some html tag like "<BR><b>"ext.
W> hat i want is on net when this 'details' is extracted it should
d> o the formating accord.
i> f got any solution tell me now..
d> eepti
> _________________________________________________________
C> lick below to visit monsterindia.com and review jobs in India or
A> broad
h> ttp://monsterindia.rediff.com/jobs
Message #2 by santhi_maadhaven@y... on Mon, 13 May 2002 13:54:45
|
|
Hi,
When u r displaying the fields give like this
Response.Write"<br><b>rs("details")</b>"
regards,
santhi
>
hello,
i want to use html tag in the content of a record.This
will create a html page on net (which use this html tag containg
record to delevop page with htmlfeature).How could i do this?
for exp.-
let's take a table named 'table1'
containg three feilds-'id','name','details'
now this 'detials' feild has some html tag like "<BR><b>"ext.
What i want is on net when this 'details' is extracted it should
do the formating accord.
if got any solution tell me now..
deepti
_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or
Abroad
http://monsterindia.rediff.com/jobs
Message #3 by "deepti sahu" <fordeepti@r...> on 3 May 2002 05:57:14 -0000
|
|
hello,
i want to use html tag in the content of a record.This
will create a html page on net (which use this html tag containg
record to delevop page with htmlfeature).How could i do this?
for exp.-
let's take a table named 'table1'
containg three feilds-'id','name','details'
now this 'detials' feild has some html tag like "<BR><b>"ext.
What i want is on net when this 'details' is extracted it should
do the formating accord.
if got any solution tell me now..
deepti
_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or
Abroad
http://monsterindia.rediff.com/jobs
|
|
 |