Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to fetch data from multiple rows

Status
Not open for further replies.

jermine

Programmer
Jun 15, 2001
59
SG
HI! Thanks for reading this.

I have to display 25 records at a time in asp page and I have to update couple of columns depending on the client request.The columns that will be updated I am keeping it in an array,once the user enters the data in those columns and enters update button,it will save the data.My problem here is that I am not able to get the updated data in array. What should i do to pass the values from the column fields to array.(I can't use individual fields for the columns as I am displaying 25 records at a time).

I am generating control names with a dynamic number added to it, say varray<%=counter%> where the counter is incremented in a for loop

Now when the form is submitted, my idea is to do request.getParameter(varray<%=counter%>) in a for loop, which will give all the values.

Can any one help what the syntax should be for the request.getparameter? when i tried to use the above code i am getting null values.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top