asp 모든폼 갖고오기

ASP 2013. 10. 24. 12:26

  <html>
<head><title>Checkdata</title></head>

<body bgcolor="#ffffff"><p>
<p>
<table border="0" cellpadding="0" cellspacing="1" width="750" bgcolor="#DDDDDD">
<tr bgcolor="#F6F6F6"><td colspan="2" height="30">
<p align="center"><font size="2" color="#006FFF"><b>Querystring으로 넘어온 것
</b></font></td></tr>


<%
For each item in Request.QueryString
for i = 1 to Request.QueryString(item).Count
%>
<tr bgcolor="#FFFFFF">
<td width= "300" height= "25"><font face= "돋움"size="2"> Request("<%=item%>")</font></td>
<td width= "450" height= "25"><font face= "돋움"size="2"> <%=Request.QueryString(item)(i)%></font>
</td></tr>
<%
next
next
%>
</table><p>

<table border="0" cellpadding="0" cellspacing="1" width="750" bgcolor="#DDDDDD">
<tr bgcolor="#F6F6F6"><td colspan="2" height="30">
<p align="center"><font size="2" face="돋움"color= "#006FFF"><b>Form으로 넘어온 것</b></font></td></tr>


<%
i=0
For each item in Request.Form
for i = 1 to Request.Form(item).Count
%>
<tr bgcolor="#FFFFFF">
<td width= "300"height= "25"><font face= "돋움"size="2"> Request.form("<%=item%>")</font></td>
<td width= "450"height= "25"><font face= "돋움"size="2"> <%=Request.form(item)(i)%></font></td>
</tr>
<%
next
next
%>
</table>
</body>
</html>

 

'ASP' 카테고리의 다른 글

ABCUpload 이용해서 파일 업로드 및 다운로드  (0) 2013.10.26
폴더검색 fso  (0) 2013.10.24
Dext sumnail 새창으로 메일 보기  (0) 2013.10.24
FSO 객체(FileSystemObject)  (0) 2013.10.24
새창 프린트 새창으로 메일 보기  (0) 2013.10.24
Posted by 초보용
,