Friday, March 16, 2012

Looping Through Records

Hi everyone!!

I have a bit of a sticky problem here,just wondering what the best way would be to solve it!!i'm very new to VB.NET so be gentle!! :)

Im looping through a number of records in a datagrid, this returns some values depending on the checkbox which is checked within the datagrid.My problem is that with every value that is checked I need to redirect to another page,get the user to carry out some function and then use the next value selected in the first page and carry out some function in the second page and so on. The way the second page and program is set up means that each of these values needs to be dealt with separately.My problem is how to catch these values as the datagrid is being looped through and then reverting to the next value.

Does anyone have any ideas or even a pointer in the right direction?

Thanks in advance for any help!

j :)You're not going to be able to do it this way.

I suggest storing a list of the pages that you need to go to and then, when you have finished looping through the DataGrid, redirect the user to a Wizard style form that goes through each page.
Thanks Steven!!

Thats what I thought,i think i just needed to someone to confirm it!!!

Thanks for your help!!

jewly :)

0 comments:

Post a Comment