New Message on dotNET User Group Hyd

Look's I messed up

Reply
  Reply to Sender   Recommend Message 1 in Discussion
From: khalik

sample on inheritance..

i have a solution with 2 projects Proj1, Proj2

Proj1 code

Public Class Proj1

Private StrCustomerName As String

Private StrContactPerson As String

Public Property CustomerName() As String

Get

CustomerName = StrCustomerName

End Get

Set(ByVal Value As String)

StrCustomerName = Value

End Set

End Property

Public Property ContactPerson() As String

Get

ContactPerson = StrContactPerson

End Get

Set(ByVal Value As String)

StrContactPerson = Value

End Set

End Property

End Class

Proj2

Public Class Proj2

Inherits Digiprise.Proj1

Private IntTypeID As Int16

Public Property TypeID() As Int16

Get

TypeID = IntTypeID

End Get

Set(ByVal Value As Int16)

IntTypeID = Value

End Set

End Property

End Class

 

in my ASP page when i use proj2 object i get error.

Dim MyAccount As New Proj2

MyAccount.AccountOwner = ="ABC"

'Public Property AccountOwner() As Integer' is declared in project 'Proj1.dll', which is not referenced by project 'Proj2.dll'.

what did i mess up or miss...


View other groups in this category.


Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to