Thanks Ken,
I read the url but I don't know how to swap between tablestyles.
I have 4 buttons and I would like to change the appearance when I click on
each button.
I create 4 tablestyles for the same datagrid, using different tablenames
And what I m looking for is something like :
myDataGrid.TableStyles(1).selected / myDataGrid.TableStyles(2).selected
Stan
"Ken Tucker [MVP]" <vb***@bellsouth.net> a écrit dans le message de
news:uM**************@TK2MSFTNGP12.phx.gbl...
Hi,
Yes you can have several tablestyles for a datagrid. A tablestyle
only works when the tablename is the same as the mappingname.
http://msdn.microsoft.com/library/de...ClassTopic.asp
Ken
-----------------
"Stan Sainte-Rose" <st**@cyber972.com> wrote in message
news:O9**************@TK2MSFTNGP11.phx.gbl... Hi,
I have a winform with 1 datagrid and several datagridtablesStyles
mapping different datatables.
Is it possible to select a specific DataGridTableStyle for the datagrid
? Or do I have to create one datagrid for each DataGridTableStyle ?
Stan