Guest Shaju Chacko Posted October 31, 2008 Share Posted October 31, 2008 Dear Friends,Is there any way to change the values of a textbox in ASP using FOR loop? For better understanding please check the e.g. below.For a=1 to 3("textbox"+a.tostring).text=anextCan I use the above method to complete the below task. Textbox1.text=1Textbox2.text=2Textbox3.text=3If there is a solution, please give me the write format Thanks,Shaju Link to comment Share on other sites More sharing options...
amj Posted November 3, 2008 Share Posted November 3, 2008 I have used a few simple loops to do similar things<% for a = 1 to 10 %> <input type="text" value="<%= a %>"><% next 'a %>See http://www.w3schools.com/TAGS/tag_input.asp about input Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.