IListSource, IList

A

Abbiento Morgan

Someone know where can i find information and/or example (better in c#) for
IList/IListSource interfaces for connect a my class to the DataGrid
component via SetDataBinding method ?
 
T

Thomas Tomiczek [MVP]

In the documentation.

Both interfaces are described very clearly.

Thomas Tomiczek
THONA Software & Consulting Ltd.
(Microsoft MVP C#/.NET)
 
A

Abbiento Morgan

Ya, but i cant find examples.
I need to know how to modify my class for connect it to datagrid component.
Where can i find this information ?
And if your response is "in the documentation" i need to know where because
i cant find it...
I searched everywhere but i found nothing...

Thx for help.
 
T

Thomas Tomiczek [MVP]

Abbiento Morgan said:
Ya, but i cant find examples.

There is none in there.
I need to know how to modify my class for connect it to datagrid component.
Where can i find this information ?

Datagrid?

None. Never connect a class to a datagrid.

Use a view in between - exactly like a DataSet (the default view is a neat
idea, though).

* IBindingList
* ITypedList

are the interfaces you need t o implement.Full integration is about 20
pages.

Thomas Tomiczek
THONA Software & Consulting Ltd.
(Microsoft MVP C#/.NET)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top