CODE:
Module Module1
Public u As String
End Module
and I have used this variable in this code like this to hold the username
CODE:
con.Open()
cmd.Connection = con
cmd.CommandText = "SELECT * FROM tbllogin where username = '" & TextBox1.Text & "' and password = '" & TextBox2.Text & "';"
u = TextBox1.Text
cmd.Connection = con
adaptor.SelectCommand = cmd
adaptor.Fill(dataset, "O")
Now how can I flush the variable value after logout?
I have used
u= ""
but it didn't work

New Topic/Question
Reply



MultiQuote








|