Have you checked out the Attributes property of the DataGrid? It allows you to get at the collection of attributes associated with the control. There is an example of using this property on message #
710745.
>Can anyone give me some code that will allow me to change the TOP style attribute of a DataGrid during the init?
>
>Thanks.
>
>Dave
-----------------------------------------
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