dgts.MappingName = "composition" -- this should be same as TableName
Is the table name you are showing same as the MappingName?
that can be one problem.
Secondly.. DataGridColumnStyle mapping names should be matching to each of
the column names in the table.
Hope this helps,

Signature
Regards,
Sanjeevakumar Hiremath
Proteans Software Solutions
http://sharpnet.blogspot.com
> My table styles blows up
> Dim dgts As DataGridTableStyle = New DataGridTableStyle
[quoted text clipped - 7 lines]
>
> What am I doing wrong?
Arne - 28 Oct 2005 15:33 GMT
Yes,
When I tried to set the style before I set the data source it blows up.
> dgts.MappingName = "composition" -- this should be same as TableName
> Is the table name you are showing same as the MappingName?
[quoted text clipped - 16 lines]
> >
> > What am I doing wrong?