...
- Apply styles to large numbers of cells by setting the style to either rows/columns or to singular data marker cells.
- If more than one style is needed in a row/column, and it can't be handled by switching the style for the other (ie, setting style on a row to change part of a column), try to keep the style that takes a majority of the row/column as the one set by that row/column.
When
...
Possible,
...
Use DataReaders
...
Instead of DataTables
Why this might happen:
- Although they are less efficient for simpler tasks, DataTables can do everything that DataReaders can, so someone may not realize and may just use a DataTable when a DataReader could have done everything they needed more efficiently.
...