ASP 101 - Active Server Pages 101 - Web05
The Place ASP Developers Go!

Please visit our partners


Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates














ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash





Sample HTML Code generated by the ASP:
<form action="/samples/dir_list_filtered.asp" method="get">
Find files whose names contain:
<input type="text" name="query" value="ber" /><br />
<input type="submit" value="Find Files" />
</form>
<p>
Some sample queries:
<a href="/samples/dir_list_filtered.asp?query=ary">ary</a>,
<a href="/samples/dir_list_filtered.asp?query=ber">ber</a>,
<a href="/samples/dir_list_filtered.asp?query=0">0</a>,
<a href="/samples/dir_list_filtered.asp?query=1">1</a>,
<a href="/samples/dir_list_filtered.asp">show all files</a>.
<p>
Contents of <strong>filtered/</strong> that match your query:
</p>
<table border="5" bordercolor="green" cellspacing="0" cellpadding="2">
    <tr bgcolor="#006600">
        <td><font color="#FFFFFF"><strong>File Name:</strong></font></td>
        <td><font color="#FFFFFF"><strong>File Size:</strong></font></td>
        <td><font color="#FFFFFF"><strong>Date Created:</strong></font></td>
    </tr>
        <tr bgcolor="#CCFFCC">
            <td align="left" ><a href="filtered/09september.txt">09september.txt</a></td>
            <td align="right">126</td>
            <td align="left" >10/11/2005 9:48:53 PM</td>
        </tr>
        <tr bgcolor="#CCFFCC">
            <td align="left" ><a href="filtered/10october.txt">10october.txt</a></td>
            <td align="right">126</td>
            <td align="left" >10/11/2005 9:48:54 PM</td>
        </tr>
        <tr bgcolor="#CCFFCC">
            <td align="left" ><a href="filtered/11november.txt">11november.txt</a></td>
            <td align="right">126</td>
            <td align="left" >10/11/2005 9:48:54 PM</td>
        </tr>
        <tr bgcolor="#CCFFCC">
            <td align="left" ><a href="filtered/12december.txt">12december.txt</a></td>
            <td align="right">126</td>
            <td align="left" >10/11/2005 9:48:55 PM</td>
        </tr>
</table>


Output

Samples
Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers