1.
Mod basics
So how does mod help? Well, if you divide a number by 2 the remainder will ALWAYS be 0 or 1. Which Just happens to be a binary number that can be translated ...
2.
Basic DataSet
If I have to choose between a DataSet and a DataReader I will usually go with a DataReader. I won't go into too much here, but for my reasoning take a look ...
3.
Mod basics
You can loop through the number of items, and do a mod of that number by the number of columns. How does that help? Loop through the number of items ...
4.
5.
6.
7.
8.
9.
10.