Fill the data from your DB table in a dataset...
to access all the rows, iterate through all the records in the dataset's table[0]... to access all the columns in all rows, access them while iterating through rows.
to know how to pupulate dataset, follow the link... :)
http://quickstart.developerfusion.co.uk/quickstart/howto/doc/adoplus/GetDataFromDB.aspx[
^]
mark as answer if solves your problem