You don't actually need to implement IComponent. All you should need to do
is add your class(es) as a data source using the Data Sources window.
Once your classes are available as data sources, you can drag-drop them onto
a form or otherwise use them like any other data source within the IDE.
Rocky
rocky.spambad@lhotka.net
> Hello group,
> I developed some Domain classes , which are NOT a not related to DataSet /
[quoted text clipped - 26 lines]
> Regards
> Norbert Ruessmann
Norbert Ruessmann - 24 Jun 2005 15:52 GMT
Thanks for the answer.
But I forgot to metion that I use VS 2003 and .NET 1.1, and as far as I know
the data sources window is a new feature of VS2005/.NET2.0
Regards
Norbert Ruessmann
> You don't actually need to implement IComponent. All you should need to do
> is add your class(es) as a data source using the Data Sources window.
[quoted text clipped - 36 lines]
>> Regards
>> Norbert Ruessmann
Norbert Ruessmann - 28 Jun 2005 10:41 GMT
In the meantime I tried with VS2005 Beta. I can bind my Control to a
DataGridView (and even use the column editor), but in the DataMember
property the chilkd collections do not show up for the one to many
relations.
Does anybody have any idea? In the meantime I have the impression that the
DataGrid (VS2003) and DataGridView (VS2005) at design time only work with
DataSets, and nothing else.
Regards
Norbert Ruessmann
> You don't actually need to implement IComponent. All you should need to do
> is add your class(es) as a data source using the Data Sources window.
[quoted text clipped - 36 lines]
>> Regards
>> Norbert Ruessmann