SHARE
TWEET

Untitled

a guest Apr 27th, 2016 81 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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top