Thank u Balaji.
 
Jegatha

Balaji vishnubhotla <[EMAIL PROTECTED]> wrote:
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


SPONSORED LINKS 
Programming languages C programming language Computer programming languages 
Java programming language C programming language History of computer 
programming language 

---------------------------------
YAHOO! GROUPS LINKS 


    Visit your group "AspClassicAnyQuestionIsOk" on the web.
  
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


---------------------------------



                
---------------------------------
 Too much spam in your inbox? Yahoo! Mail gives you the best spam protection 
for FREE!
http://in.mail.yahoo.com

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hsp6gn3/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1122905998/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</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/
 



Reply via email to