Link to home
Start Free TrialLog in
Avatar of padmamvs
padmamvs

asked on

Display data into TextArea from Database

How can i display data from a Database into a TextArea in different lines.ie. i want the o/p as
--------------
ccccc
xxxx
tttt
uuuuu
--------------
Avatar of xabi
xabi

Make this:

..
..
tmp = ""
while not(rs.EOF)
  tmp = tmp & rs.fields("myfield") & VBCrLf
  rs.movenext
wend
rs.close
..
..
<html>
<textarea><%=tmp%></textarea>
..
..


xabi
ASKER CERTIFIED SOLUTION
Avatar of robbert
robbert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Robert:

As you can see you say exactly the same as me. Are you only trying to get all points you want. I just give a comment waiting for his questions and you proposed my comment as an answer. Yes, you can say:

I wrote the whole code.
Yes, you are right. I didn't wrote the whole code cuase he didn't ask for it. Now what must I do? Write your code plus an intruduction to ASP?

xabi
Sorry,
I always open all unread questions in new windows, then go offline, and work on them, then go online and post answers and comments.
If our answers will be accepted, I'll post a question for you, so that you can get "your" points.
Don't worry about points, it doesn't matter. I was just trying to explain how we must work in EE. Anything more.
And sorry for my English, It's my 4th language.
padmanvs,
thank you for accepting the answer. What could I have had improved for to receive an A grade? ;-)

xabi,
you'll find a question for you, named "For Xabi - Session.LCID".