Hello all,
Does anyone know if there is a good way to loop through a data adapter after received from a database? I am planning to load up an array list of a class that I created. The only issue I've found is that I can't actually loop through the Dataset or the Data adapter, which has the data that I need to drop into the class and then add to the array list. In VB 6.0, I would have just used the .movenext property, I just haven't found anything like that in C#. It seems like all examples lead to binding the data adapter to a grid, which is not what I need it to do.
Thanks in advance, you're all great.
Kevin
Does anyone know if there is a good way to loop through a data adapter after received from a database? I am planning to load up an array list of a class that I created. The only issue I've found is that I can't actually loop through the Dataset or the Data adapter, which has the data that I need to drop into the class and then add to the array list. In VB 6.0, I would have just used the .movenext property, I just haven't found anything like that in C#. It seems like all examples lead to binding the data adapter to a grid, which is not what I need it to do.
Thanks in advance, you're all great.
Kevin