The grid does have the ability to add attributes just like all the other controls. Here is the syntax:
this.DataGrid1.Attributes.Add(...);
>Kind of. The grid doesn't have an addattibutes method. There is a style method, but it seems pretty convoluded on how to use it. I was hoping to borrow someone else's code. I gave it a shot, and it got pretty tedious.
>
>DB
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi