PC Review


Reply
Thread Tools Rate Thread

Custom Data Source

 
 
Andreas Kerl
Guest
Posts: n/a
 
      23rd Aug 2003
Hi,

I've a problem to find a solution for a problem. I've a component and have
implement a DatSet with two DataTables. Also I've two DataViews on this
component. I would like to use this component as data source for a WinForms
DataGrid and will return the two DataViews as DataMembers. For this purpose
I've IListSource implemented.

It's no problem to return only one DataView, because a DataView has
implemented Ilist, and the DataView is returned via IListSource.GetList().

Now, I've implemented an ArrayList to return multiple DataViews:

public IList GetList()

{

ArrayList ar = new ArrayList();

ar.Add(this.dataView1);

ar.Add(this.dataView2);

return (ar);

}

In this case, the DataGrid doesn't show the values of the DataView or the
underlaying DataTable, the DataGrid shows the public properties of the
DatView.

Can anybody help me?

Thanks

Andreas



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make my custom formula in OLAP data source pivot table? =?Utf-8?B?QWJvYmFrcl9OYXNy?= Microsoft Excel Programming 0 19th Feb 2006 10:56 AM
Creating a Custom Data Source that implements IList or IListSource =?Utf-8?B?UmljaGFyZCBCeXNvdXRo?= Microsoft VB .NET 5 15th Feb 2006 05:46 AM
Object Data Source and Custom Business Object =?Utf-8?B?S2h1emVtYQ==?= Microsoft ASP .NET 0 27th Jun 2005 08:03 AM
Chart Source Data Ranges Changing when Data Sheet updated from text file source. Tekn0 Microsoft Excel Charting 3 8th Jan 2004 04:45 PM
Custom Data Source Andreas Kerl Microsoft ADO .NET 0 23rd Aug 2003 04:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:57 AM.