Name: Anonymous 2012-04-19 4:52
I'm trying to generate a table by having a user input the # of rows and cells on one page, submit, and generate the table on the next page but I'm very new to ASP and I haven't done VB in a year so could anyone direct me?
Here is the input page:
<form method="post" action="table.asp">
Enter the number of rows: <input name="rows" type="text" size="5"/> <br /><br />
Enter the number of columns: <input name="columns" type="text" size="5"/><br /><br />
<input id="Submit1" type="submit" value="Create Table" />
And the table page (with nothing on it really except me playing around with a for loop)
<body>
<%
rows = request.form("rows")
for x = 1 to cint(rows)
next
%>
</body>
Basically I'm looking for a way to create the table or add rows/cells to an existing table. Thanks.
Here is the input page:
<form method="post" action="table.asp">
Enter the number of rows: <input name="rows" type="text" size="5"/> <br /><br />
Enter the number of columns: <input name="columns" type="text" size="5"/><br /><br />
<input id="Submit1" type="submit" value="Create Table" />
And the table page (with nothing on it really except me playing around with a for loop)
<body>
<%
rows = request.form("rows")
for x = 1 to cint(rows)
next
%>
</body>
Basically I'm looking for a way to create the table or add rows/cells to an existing table. Thanks.