Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property not visible in Subclass.
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00827112
Message ID:
00827176
Views:
16
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform