Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Within a Class...
Message
General information
Forum:
ASP.NET
Category:
Class design
Environment versions
Environment:
VB.NET 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01078713
Message ID:
01078771
Views:
9
>I think that within your ClassDataSet class you need to provide a reference to SQLDBWrapper, something like this:
>
>
>Private Class ClassDataSet
>   Inherits DataSet
>
>   Private _sqldbw As SQLDBWrapper
>
>   Public Sub New(ByVal sqldbw As SqlDataWrapper)
>      Me._sqldbw = sqldbw
>   End Sub
>
>   ' User Me._sqldbw to reference the method in the parent class, SQLDBWrapper
>End Class
>
Yeah, that is what I did for now in order to get what I need to work. :-) Just wish that VB could have recognized the Scope levels and be able to reference the calling/parent object. Well, there's an idea for MS for their next version. hehehe
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services


Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook
Previous
Reply
Map
View

Click here to load this message in the networking platform