Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Within a Class...
Message
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01078713
Message ID:
01078771
Vues:
10
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform