looping through a repeater collection

M

MattB

I've got a WebForm that loops through a repeater's controls to get values
entered into text boxes by a user. I'm getting to the values OK, but I want
to populate a 2 dimensional array with the value the users enters and
another item from the in the same row in the table the repeater is bound to.
This other item does not appear in a control, but it seems like I could
access it in my loop using Repeater1.Something("id"). Obviously I don't have
this working, but is there a way to do it like this or should I just
reference the DataTable.DataRow.Item directly and get the item that way.
Hope this makes sense. TIA!

Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top