|
 |
asp_databases thread: show message in form field
Message #1 by "Stephen Biggerstaff" <stephenb@w...> on Mon, 29 Jan 2001 18:19:29 -0000
|
|
This is Vinod from websolution@g...
Sir, I have to show message in form field (textarea) from database table
for which I have write code as
<textarea name ="s1" value="<%= oRs("s1_table")%>" > </textarea>
and
<textarea name ="s1" > <= oRs("s1_table")%> </textarea>
But both the case It has a problem
How do I correct my problem ? what is wrong with this?
Message #2 by "Dallas Martin" <dmartin@z...> on Mon, 29 Jan 2001 13:39:25 -0500
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0012_01C089F8.E5325670
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
You have syntax errors: Here is correct code:
Change rows/cols as needed for your app.
<textarea rows=3D5 cols=3D40><%=3DoRs("st_table")%></textarea>
Cheers,
Dallas Martin
----- Original Message -----
From: "Stephen Biggerstaff" <stephenb@w...>
To: "ASP Databases" <asp_databases@p...>
Sent: Monday, January 29, 2001 1:19 PM
Subject: [asp_databases] show message in form field
> This is Vinod from websolution@g...
>
> Sir, I have to show message in form field (textarea) from database
table
> for which I have write code as
> <textarea name =3D"s1" value=3D"<%=3D oRs("s1_table")%>" > </textarea>
> and
> <textarea name =3D"s1" > <=3D oRs("s1_table")%> </textarea>
>
> But both the case It has a problem
>
> How do I correct my problem ? what is wrong with this?
>
>
> ---
> FREE SOFTWARE DEVELOPMENT CODE, CONTENT, AND
> INSIGHTS IN YOUR INBOX!
> Get the latest and best C++, Visual C++, Java, Visual Basic, and XML
tips, tools, and
> developments from the experts. Sign up for one or more of EarthWeb?s
> FREE IT newsletters at http://www.earthweb.com today!
$subst('Email.Unsub')
>
Message #3 by Gregory_Griffiths@c... on Mon, 29 Jan 2001 18:53:34 +0000
|
|
Vinod,
What is happening when you use either ? Can we see a little more
of your code so that we can see what is going on around that line.
> -----Original Message-----
> From: stephenb@w... [mailto:stephenb@w...]
> Sent: 29 January 2001 18:19
> To: asp_databases@p...
> Subject: [asp_databases] show message in form field
>
>
> This is Vinod from websolution@g...
>
> Sir, I have to show message in form field (textarea) from
> database table
> for which I have write code as
> <textarea name ="s1" value="<%= oRs("s1_table")%>" > </textarea>
> and
> <textarea name ="s1" > <= oRs("s1_table")%> </textarea>
>
> But both the case It has a problem
>
> How do I correct my problem ? what is wrong with this?
>
|
|
 |