web 2.0

How to use ASP & HTML and Table

How to use ASP & HTML and Table This the tutorial/example a scripts how to use ASP & HTML and Table

ShotDev Focus:
- ASP & HTML and Table

Example

asp_html.asp


<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
SetLocale("en-us")

Response.write("My ShotDev.Com<br>")
%>
<b>My ShotDev.Com</b><br>
<%
Response.write("<b>My ShotDev.Com</b><br>")

For i = 0 To 5
%>
<b>My ShotDev.Com</b><br>
<%
Next
%>
<%
strTable = ""
strTable = strTable &"<table border=1>"
strTable = strTable &"  <tr>"
strTable = strTable &"    <td>"&Date()&"</td>"
strTable = strTable &"  <td>"&Date()&"</td>"
strTable = strTable &"    <td>"&Date()&"</td>"
strTable = strTable &"  </tr>"
strTable = strTable &"  <tr>"
strTable = strTable &"    <td>"&Date()&"</td>"
strTable = strTable &"  <td>"&Date()&"</td>"
strTable = strTable &"    <td>"&Date()&"</td>"
strTable = strTable &"  </tr>"
strTable = strTable &"  <tr>"
strTable = strTable &"    <td>"&Date()&"</td>"
strTable = strTable &"  <td>"&Date()&"</td>"
strTable = strTable &"    <td>"&Date()&"</td>"
strTable = strTable &"  </tr>"
strTable = strTable &"</table>"
Response.write strTable
%>
</body>
</html>

Create a asp file and save to path root-path/myasp/

Run
http://localhost/myasp/asp_html.asp

Screenshot

ASP & HTML and Table

.
.
.

Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.