I have just recently learnt about modules and have declared a connection string in a module called module1. the name of the connection is myConnection and it is within a subroutine called connectDB( )
I wish to know how to use it in the forms.
for eg a form to validate username and password using let's say.... Dim cmd As OleDbCommand = New Oledb( string name, connection name)
also do I need to declare the connection string in a function or in a subroutine?
thanks. and yes my knowledge in VB.net is basic..
I wish to know how to use it in the forms.
for eg a form to validate username and password using let's say.... Dim cmd As OleDbCommand = New Oledb( string name, connection name)
also do I need to declare the connection string in a function or in a subroutine?
thanks. and yes my knowledge in VB.net is basic..