Advertisement
Guest User

Untitled

a guest
Apr 27th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Class frmLogin
  2. Dim SQL As New SQLControl
  3.    Private Sub BtnLogin_Click(sender As Object, e As EventArgs) Handles BtnLogin.Click
  4.         cn.Open()
  5.         cmd = New SqlCommand("SELECT UserName, Password from UserAuthentication WHERE UserName='" & txtUserName.Text & "' and Password = '" & txtPassword.Text & "' ", cn)
  6. cn.close
  7. End sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement