Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2006

Tip: Looking for answers? Try searching our database.

Project Data Source Using Derived Interface

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike Livenspargar - 27 Jan 2006 18:34 GMT
I've created a project data source based on an interface that in turn derives
from another interface. When in Visual Studio Data Sources view I examine the
properties exposed by the data source, I see only those properties in the
derived interface and none from the base interface.

A data source created from a class that implements the derived interface
exposes properties from both the derived interface and the base interface.

Is it possible to create a data source based on a derived interface that
also exposes properties from the base interface? At the moment the only work
around I see is to use a data source based on a class that implements the
derived interface. Since at runtime I may be displaying data from one of
several different classes that implement the interface, I'll be running the
risk of a runtime error if I happen to select at design time a property
exposed by the class I used as the data source type but that is not declared
in the interface.

Thank you,
Mike
Neil Ni - 30 Jan 2006 08:46 GMT
Hi,

Can you tell me what's the version of Visual Studio .NET you are using?

Thanks & Regards,

Neil Ni
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469

Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Mike Livenspargar - 30 Jan 2006 16:21 GMT
I'm using Visual Studio 2005, Team Developer edition.

> Hi,
>
[quoted text clipped - 29 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
Neil Ni - 02 Feb 2006 10:23 GMT
Hi,

I've checked on it and I'm sorry it's a limitation.

Sorry for the inconvenience.

Thanks & Regards,

Neil Ni
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469

Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.