|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello all,
Need some direction. I am trying to return the results of my SQL scripts into a formated HTML <FORM>. It appears to me I can't do this with ASP and will need something else to format my results. Can anyone point me in the right direction? The end result I am looking for would display my records in a scrollable & selectable <textarea> type form. Any help would be great. thanks Jed. |
|
#2
|
||||
|
||||
|
What exactly are you trying to achive...
Normally you'd return results in a rows, or some other HTML structure. If you want to return them in a list, use the SELECT object, and set it's SIZE attribute to a value, i.e. 15. Can you expand a bit more on your question? |
|
#3
|
|||
|
|||
|
ASP/SQL
I am trying to have all the records returned formated and printed inside a
<form> <textarea rows="11" cols="180"></textarea> </form> Or something similar. Right now my records are being returned directly into a table in the body of the HTML. Is it possible to have them formated into the above form? Thanks for the help. Jed |
|
#4
|
||||
|
||||
|
something like this perhaps
Code:
<form>
<textarea rows="11" cols="180">
<%
'ASP code here
do until rs.eof
response.write(rs.field("fieldname") & vbCrLF)
rs.movenext()
loop
%>
</textarea>
</form>
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Asp/sql |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|