PC Review


Reply
Thread Tools Rate Thread

Databinding problem with Datagrid and Inheriting Class

 
 
bic
Guest
Posts: n/a
 
      18th Feb 2004
I have a class that is used as a datasource for a datagrid that
doesn't display properties that it inherits from another class. I have
a Item class that inherits from a CommonItem class properties. When I
create an object of an Item. It works fine.. it inherits all the
properties from CommonItem and has its own prperties. I can set/get
property from the inherited properties.. but when I try to display
with a datagrid by datasource = collection of item.. a collection of
the item object, all I get the the Item class properties ONLY and
nothing from the CommonItem properties.. Any got advice..
 
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
Design Problem: Abstract Class inheriting from a List(Of AnotherAbstactClass) Etienne-Louis Nicolet Microsoft VB .NET 4 9th Apr 2009 10:00 AM
Problem with databinding in ITemplate class DC Microsoft ASP .NET 2 19th Nov 2007 11:33 AM
class design problem & databinding Kalpesh Microsoft C# .NET 2 2nd Feb 2006 01:01 PM
Inheriting events from singleton class problem for two days =?Utf-8?B?T3Bh?= Microsoft C# .NET 10 24th Oct 2004 11:39 AM
Databinding problem with inherited class Olivier Deborne Microsoft C# .NET 2 9th Sep 2004 08:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:07 PM.