you could do the following:
In your first class you add a function like this:
Public Function GetWhatINeed()
Dim ID As Integer = 234
Dim Name As String = "Peter"
Dim VALID AS Integer = 1
' Create Struct
Dim ExtraInfoClass As ExtraInfoClass = New ExtraInfoClass()
ExtraInfoClass.ID = ID
ExtraInfoClass.Name = Name
ExtraInfoClass.VALID = VALID
Return ExtraInfoClass
End Function
I created 3 variables to give you an idea.
After you close your class, add this:
Public Class ExtraInfoClass
Public ID As Integer
Public Name As String
Public VALID As Integer
End Class
To retrieve the values use:
GetWhatINeed.ID -> ID
GetWhatINeed.Name -> Name
GetWhatINeed.VALID -> VALID
ie. Response.Write(GetWhatINeed.Name)
Hope this helps
