Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property not visible in Subclass.
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00827112
Message ID:
00827176
Vues:
15
using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;

#namespace paisap
{
public class clsCustomer : clsDBInteractionBase
{
public SqlString cCutomerName2

snip....

*** My class starts like
using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;
using paisap;

public class Customer : clsCustomer
{
/// just use the base class
}
******************************************************
C# program.

using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;

Customer CustObj = new Customer;
CustObj. ////Does not show any properties (members)



>Could you post the code for the property definition? I bet that the property is private, instead of public or protected. Private is the default.
>
>
>Morgan
>
>>I have a class that I am trying to inherit from. The problem is that the properties (members) in the base class are not visible when the derived class is instanciated. If I instanciate the base class, everything is fine. I am attempting to insert a business object layer between my UI and data layer.
>>
>>
>>I know I am messing something.
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform