|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
show all info. from database into textarea
<i><b>Originally posted by : Ly (hwatts@hotmail.com)</b></i><br /><br />Hi,<br /><br />I try to display info. from database into the textarea with While...loop
ASP and VB)<br /><tatbe><br /> <TR><TD><br /> <% while Not RS.EOF %><br /> <br /> <p><TEXTAREA cols=120 name=S1 rows=10><% response.write RS("watchlog_info")%></TEXTAREA></p><br /><% RS.MoveNext<br /> Wend %><br /></TD></TR></table><br /><br />The result is displayed each line in each textarea, either <TR><TD> inside or outside while...loop.<br /> <br />Thanks,<br /><br />Ly<br /><br /> |
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Richard (richard@trinet.co.uk)</b></i><br /><table><br /><tr><br /><td><br /><textarea cols=120 name=S1 rows=10><br /><%<br />Do Until rs.Eof<br /> Response.Write rs.Fields("watchlog_info")<br /> Response.Write vbCrLf<br /> rs.MoveNext<br />Loop<br />%><br /></textarea><br /></td><br /></tr><br /></table><br />------------<br />Ly at 5/10/2001 5:02:11 PM<br /><br /><br />Hi,<br /><br />I try to display info. from database into the textarea with While...loop
ASP and VB)<br /><tatbe><br /> <TR><TD><br /> <% while Not RS.EOF %><br /> <br /> <p><TEXTAREA cols=120 name=S1 rows=10><% response.write RS("watchlog_info")%> |
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > show all info. from database into textarea |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|