I'm using Vs2005 C++ and .Net 2.0 and creating a Windows Form Application so that I can use the DataGridView control. I want the DataGridView to be bond to a data source which is a C++ object.
If look at documentation on how to do this it says that any object with at least one public property can be used. And there are examples on how to do this, but the big frustration of being a C++ programmer in a .Net world is that the only example is in C#. Normally the syntax is close enough that I can translate it, but in this case I'm missing something fundimental.
If I create a class with a public property like this in it:
property unsigned Id
And then run Data Source Configuration Wizard, this class is not listed as choice. Clearly I'm missing something that lets the Wizard understand my Class/Object is available. Judging from the C# example either "public property" means something else, or C# does this registration automatically, and C++ doesn't.
Thank you for your help.