Hi Jegatha,
use the following Code in ex.asp
<%
if Request("numTextBoxes") = "" Then %>
<FORM NAME="testform" action="" method=post >
<input type=text name=numTextBoxes value="">
<input type=submit id=submit1 name=submit1 value="Get TextBox Count">
</FORM>
<%
else
numTextboxes = Request.Form("numTextBoxes")
%>
<form method=post action="ex2.asp" name=form1>
<input type="hidden" name=numTextBoxes value="<%=numTextboxes%>">
<%
For i = 1 to numTextboxes %>
<input type="text" name="textbox<%=i%>" ><BR>
<%next %>
<input type=submit value="submit" name=sub2>
</form>
<% end if %>
Paste the following code in ex2.asp
<%
numTextboxes = Request.Form("numTextBoxes")
For i = 1 to numTextboxes
textbox = "textbox" & i
mytext = Request.Form(textbox)
response.write " Value of Textbox " & i & " --------- " & mytext & "<br>"
next
%>
All the Best
--
Balaji V
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12heivb44/M=362329.6886308.7839368.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1122901387/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/