Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instanciating an object from a Classlib What am I missing ?
Message
De
20/01/2006 16:32:48
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Instanciating an object from a Classlib What am I missing ?
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01089052
Message ID:
01089052
Vues:
77
I have created a Class Project which has been sucessfully tested in a Winforms project. Now I want to use this Class in a ASP WebForm project. In the Solution explorer I added a reference to the DLL and in the CodeBehind VB file I tried to instanciate the object as I did in WinForms. However the class reference is no in Intellesence and if I type it in the reference is flagged as an error. Here is a snippet of my code behind.
Partial Class _Default
    Inherits System.Web.UI.Page

    Dim nSearchId As Integer = -1
    Dim owsdata As New WebStoreData  (class name flagged as error)


    Public Sub New()

    End Sub
End Class
Thanks

Glenn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform