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:
00827826
Views:
11
Thank You, I will give it a try.


>Hi Fred,
>
>The Customer class needs to be wrapped in a namespace and then that namespace referenced in a using statement when instantiating the Customer object.
>
>>Yes, Customer does end with (). I was cutting comments out of my code when I pasted it here. I cut too much. I tried building (and rebuilding) the projects with no luck.
>>
>>>>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)
>>>>
>>>
>>>Shouldn't it be Customer CustObj = new Customer();
>>>Also, have you already built the class w/ the new property. The intellisense doesn't work until you have built that project.
>>>
>>>Morgan
Fred Lauckner

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

.Net aint so bad.
Previous
Reply
Map
View

Click here to load this message in the networking platform