[RESOLVED]a different case of retrieving SQL DB data for login form
hi all:I am using VB.NET 2003i have a login form that contains btnLogin, txtLoginName.Text and txtLoginPW.Textalso have a SQL database table contains 2 columns : user and pwon the login frm, i have visually setup SqlDataAdapterUserLogin, SqlConnectionUserLogin and DataSetUserLogin, dont know if the settings are all correct though.I know somehow when i trigger btnLogin.click, i need to check whether the inputs match up database record, and then i either give access to valid user or deny access. However, i have no idea how to implement this by code.because i am new to VB.NET, can anyone please be more specific on code while trying to help?thanks
hi all:I am using VB.NET 2003i have a login form that contains btnLogin, txtLoginName.Text and txtLoginPW.Textalso have a SQL database table contains 2 columns : user and pwon the login frm, i have visually setup SqlDataAdapterUserLogin, SqlConnectionUserLogin and DataSetUserLogin, dont know if the settings are all correct though.I know somehow when i trigger btnLogin.click, i need to check whether the inputs match up database record, and then i either give access to valid user or deny access. However, i have no idea how to implement this by code.because i am new to VB.NET, can anyone please be more specific on code while trying to help?thanks
Last edited: