e.Row.Attributes.Add("Style", "background-color:#D3D3D3"); 转载于:https://www.cnblogs.com/liuxinls/archive/2013/05/13/3076053.html