Rick,
Another possibility is to assign colors to various CSS classes that define background-color as the color you want, and use a switch statement to assign the appropriate CSS classes to the rows or cells in the datagrid.
David S. Alexander
Kettley Publishing
20271 SW Birch Street, 2nd Floor
Newport Beach, CA 92660-1752