Hi guys!
Could someone please show me how to declare scope for variables outside their class?
Here's what i have in a class known Create_User:
Public Class Create_User
Public conn As New SqlConnection(My.Settings.HotelConnectionString)
Public usercmd As SqlCommand
Public userstring As String
Public userdat As SqlDataAdapter
............
End Sub
How can i increase the scope of these variables to be used in another class? I dont want to keep declaring them again and again.