Make Your Microsoft Dynamics Investment Count & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.
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.
|Need help converting bitmap to image in VB.Net||8||45|
|how to reference the id of my checkbox in a dynamic GridView control||2||30|
|VB6 calling COM DLL written in Visual Studio 2003||6||14|
|Display info from DB to Label in asp.net||7||16|