VB.net and SQL select
Looking for sample code for a logon form.The user will enter a username and password. When the user clicks on the ok button the values should go to a select * where username=txtusername.text and password=txtpassword.text.
If the datebase return true then open the next form else increment counter by one.
Where I am having problems is after the connection string. I have
Dim strConnection as string="Provider=Microsoft.Jet.OLEDB.4.0;Data
Dim cn as OleDbConnection=New OleDbConnection(strConnection)
At this point I am lost!
Looking for code, don't want to use the wizard.
Any help would be appreciated