如何设置单元格Changing the background color of cells in a DataGrid
http://www.codeproject.com/csharp/custom_datagridcolumnstyl.asp?target=datagrid如何设置行颜色:这里面有我写的代码:
http://search.csdn.net/expert/topic/52/5201/2002/11/26/1207892.htm