Hi all,
I've created a Login feature of my Application. The Login Form contains the usual usernameTextbox, passwordTextbox, okButton, cancelButton.
on my okButton, i placed there the codes to make the oracleConnectionString using the oracleConnectionStringBuilder and it works ok.
now the problem is on my Main Form, I have a Log Out Menu/Button. what codes do i need to place here.
also, i would just like to say that my application uses a typed dataset. not sure if this is relevant information on my issue.
the codes i have so far
i noticed that this code does not kill the oracle session created when i logged in.
how do i close the typed connection and kill the oracle session?
please help... thanks.
I've created a Login feature of my Application. The Login Form contains the usual usernameTextbox, passwordTextbox, okButton, cancelButton.
on my okButton, i placed there the codes to make the oracleConnectionString using the oracleConnectionStringBuilder and it works ok.
now the problem is on my Main Form, I have a Log Out Menu/Button. what codes do i need to place here.
also, i would just like to say that my application uses a typed dataset. not sure if this is relevant information on my issue.
the codes i have so far
VB.NET:
Dim _frmLogin As New frmLogin
Dim orclBuilder As New OracleConnectionStringBuilder()
With orclBuilder
.Clear()
End With
My.Settings.Reset()
My.Settings.Item("xeConnectionString") = orclBuilder.ConnectionString
_frmLogin.Show()
Me.Dispose()
Me.Close()
how do i close the typed connection and kill the oracle session?
please help... thanks.
Last edited: