DataGridTableStyle Mapping name when using BindingSource - 04-02-2006 , 07:08 PM
I can't figure out what the MappingName property should be set to when the
DataGrid is bound to a BindingSource. The bindingSource can be bound to a
Foo or a List<Foo>. But neither of those settings cause the grid to
display the correct TableStyle. Is this feature broken in the compact
framework? What's the magic word?
DataGrid.DataSource = BindingSource
BindingSource.DataSource = List<Foo>
DataGridTableStyle.MappingName = ??? // WHAT GOES HERE?
Technical Evangelist: db4o
RE: DataGridTableStyle Mapping name when using BindingSource - 04-03-2006 , 09:54 AM
Thanks for your post!
For the current issue, the MappingName property is set as the name used to
map this table to a specific data source. So, as far as I know, you can set
the property to the name of the List<T> at the current stage. The following
MSDN document demonstrates the details about the property:
Hope this will be helpful. If you have any concerns or issues, please let
me know. It's my pleasure to be assistance.
Microsoft Online Community Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
This posting is provided "AS IS" with no warranties, and confers no rights
Re: DataGridTableStyle Mapping name when using Binding ... - 04-14-2006 , 12:09 PM
Did you get it to work ?
If so what is the solution.
I have the same problem .. I've tried everything
Posted via www.DotNetSlackers.com
|Thread Tools||Search this Thread|