473,321 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

IListSource, IList

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 ?
Nov 15 '05 #1
3 7417
In the documentation.

Both interfaces are described very clearly.

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

"Abbiento Morgan" <a@b.it> wrote in message
news:e9**************@tk2msftngp13.phx.gbl...
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 ?

Nov 15 '05 #2
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.

"Thomas Tomiczek [MVP]" <t.********@thona-consulting.com> ha scritto nel
messaggio news:O8**************@TK2MSFTNGP10.phx.gbl...
In the documentation.

Both interfaces are described very clearly.

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

"Abbiento Morgan" <a@b.it> wrote in message
news:e9**************@tk2msftngp13.phx.gbl...
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 ?


Nov 15 '05 #3
"Abbiento Morgan" <a@b.it> wrote in message
news:et**************@tk2msftngp13.phx.gbl...
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)
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: emma middlebrook | last post by:
Hi Straight to the point - I don't understand why System.Array derives from IList (given the methods/properties actually on IList). When designing an interface you specify a contract. Deriving...
10
by: Eric J. Smith | last post by:
I am attempting to add an Editor attribute to an IListSource derived class (specifically it's a typed DataSet). It appears that IListSource over rules any Editor attribute. Is there any way that...
2
by: Michael Groeger | last post by:
Hi, is it possible to determine if the PropertyType of a property support IList? We are inspecting all properties of a Type and we need to care about the properties which have a type which...
3
by: Giovanni Bassi | last post by:
Hello All, I have a class implementing IList and a global object of this class type. I have two different form objects. One has a ListBox and the other has ComboBox. Both of their datasources...
7
by: BS | last post by:
Hello everybody I'm calling a webservice that returns complex data. The goal is to populate a datagrid with it. Using a loop for each record found ( such as For i = 0 To...
2
by: Lucian Wischik | last post by:
Does ReadOnlyCollection<T> really implement IList<T>, like it claims to do? ... When I right-click on ReadOnlyCollection and look at its definition, it says this: public class...
0
by: w31chang | last post by:
Hi, I create custom entity objects, a custom collections for the entity objects and a custom object that acts like a collection of the custom entity collections which I called EntitySet Object. The...
3
by: =?Utf-8?B?V2FsaWQ=?= | last post by:
Hello: I have migrated a site from IIS5 to IIS6. The site is configured and the we app is installed on the new IIS site. I can get to the web page but when I try to login, this is what I get...
2
by: =?Utf-8?B?UGFvbG8=?= | last post by:
I am trying to populate a Listbox with the results of a query triggered from a selection in a combo box: private void cmbxCategory_SelectedValueChanged(object sender, EventArgs e) { string...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.