![]() |
IT-Interview.com:Open Database for IT Professionals to share interview questions, answers and knowledge. |
![]() |
IT-Interview.com:Open Database for IT Professionals to share interview questions, answers and knowledge. |
How do assign the memo data type in ASP page as variable? and I want to place that variable in HTMLs textarea as its value?
asked by: shawnkun on: Jun 15, 2009 
I tried it with the access database with description as memo field.
< @LANGUAGE VBSCRIPT >
<
set conn server.CreateObject( ADODB.connection )
conn.open Provider Microsoft.Jet.OLEDB.4.0; Data Source & server.MapPath( db1.mdb ) & ;
set rs server.CreateObject( ADODB.recordset )
rs.open select * from table1 conn
desc rs(1)
>
<html>
<body>
<textarea>< desc ></textarea>
</body>
</html>
You can also try it with sql database. I am sure it wud work.
kastor answered on:Jun 16, 2009 0 comments