We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Namespace User Public Class User Public CID As String = "" Public UserID As String = "" Public UserName As String = "" Public UserFirstName As String = "" Public UserSurname As String = "" Public Sub GetUser(ByVal UID As String) (code here would go to the DB and get the user based in the supplied UID) CID = "123456" UserID = "567890" UserName = "fbloggs" UserFirstName = "Fred" UserSurname = "Bloggs" End Sub End Class End Namespace
Dim UserData As New User.User Session("Test") = UserData.GetUser(UN)
Dim UserData As New User.User dim UserTest as Object UserTest = UserData.GetUser(UN) Session("Test") = UserTest
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.