Tablestyles for Datagrid
-
Hello All, Well i am working with collections in the project. I have set the datasource property of the datagrid to a collection (I am not using dataset just the collection). I am unable to format the datagrid using the tablestyles. Would anyone please help me in formating the datagrid (using tablestyles) when the datasource property is set to a collection. Thanks in advance, P.S - I am unable to set the mappingname property in the tablestyle to collection. if you send a mail at gokhale.i1@gmail.com in response to this query it would be better...
-
Hello All, Well i am working with collections in the project. I have set the datasource property of the datagrid to a collection (I am not using dataset just the collection). I am unable to format the datagrid using the tablestyles. Would anyone please help me in formating the datagrid (using tablestyles) when the datasource property is set to a collection. Thanks in advance, P.S - I am unable to set the mappingname property in the tablestyle to collection. if you send a mail at gokhale.i1@gmail.com in response to this query it would be better...
-
Hello All, Well i am working with collections in the project. I have set the datasource property of the datagrid to a collection (I am not using dataset just the collection). I am unable to format the datagrid using the tablestyles. Would anyone please help me in formating the datagrid (using tablestyles) when the datasource property is set to a collection. Thanks in advance, P.S - I am unable to set the mappingname property in the tablestyle to collection. if you send a mail at gokhale.i1@gmail.com in response to this query it would be better...
Noone is going to send you anything to your email address. Any replies you get will only be posted here so that others who have the same problem may benefit.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Noone is going to send you anything to your email address. Any replies you get will only be posted here so that others who have the same problem may benefit.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007So, can you gte me some solution for my query ???
-
So, can you gte me some solution for my query ???
If I remember correctly, you can't. TableStyles only work with DataSet and DataTable objects, not user collections. The MappingName property must match up with the TableName property of a DataSet or DataTable object, which your collection will not have.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007