Sorry but I have asked this before re looping on a datagrid
Sorry but someone gave me the anser to this question before, but I have some how lost it, please can anybody help once again?
The question is how to "loop through a datagrid collumn to add values to a variable
in VB6 it was something like:
do while not .eof
myvariable = myvariable + datagrid1.collumns(6)
loop
Thanks to anybody who has the time to spare:)
Re: Sorry but I have asked this before re looping on a datagrid
Which version of vb are you using?
Re: Sorry but I have asked this before re looping on a datagrid
If you click User CP above your first post, you can select List Subscriptions to view a list of all your subscribed threads + find your answer
Re: Sorry but I have asked this before re looping on a datagrid
Re: Sorry but I have asked this before re looping on a datagrid
Re: Sorry but I have asked this before re looping on a datagrid
Quote:
Originally Posted by
.paul.
If you click User CP above your first post, you can select List Subscriptions to view a list of all your subscribed threads + find your answer
Thank You, but looked it's not on there, maybe it was another forum that I asked this perticular question
Re: Sorry but I have asked this before re looping on a datagrid
Can you post your code?
It'll probably be easier to add the column values in the datasource.