Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 1st, 2004, 10:18 AM
Authorized User
Join Date: Sep 2003
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #2 (permalink)  
Old November 4th, 2004, 07:02 AM
Friend of Wrox
Join Date: Feb 2004
Location: Bangalore, Karnataka, India.
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts

Try this link

It is not how much we do,
but how much love we put in the doing.

-Mother Theresa
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET 1.1,VB.NET,crystal reports, SQl server gvi Crystal Reports 1 September 11th, 2008 02:55 AM
sql error with vb.net 4-elements VB.NET 2002/2003 Basics 1 August 14th, 2005 12:04 AM
how to get multiple sql statements in vb.net pascalgeuze VB Databases Basics 2 April 8th, 2004 09:01 AM
MSDE and SQL CE (using VB.NET and ADO.NET) LEGS ADO.NET 0 July 12th, 2003 11:27 AM

All times are GMT -4. The time now is 08:19 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.