Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 19th, 2008, 01:45 AM
Authorized User
Join Date: Apr 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default connectivity in asp.net 2005

I am developing an inventory software using c#,asp.net,sql server 2005. I have a login.aspx page which has the login box with the username and password. When I click the login box, I want asp.net to check the SQL database to check if the username and password are valid, and then continue to the next page. How will I do that?
Pls. help
Old March 19th, 2008, 07:10 AM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

Since you are developing this in C# I am not entirely sure why you are posting in a VB.NET forum.

Google is your friend

================================================== =========
Read this if you want to know how to get a correct reply for your question:
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
Old March 19th, 2008, 09:13 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

You need to collect the username and password from the form, pass them to a SQL query then analyze the result.

It sounds like you might need to pick up a beginning ASP.NET book such as Beginning ASP.NET 3.5: In C# and VB. It is targeted at ASP.NET 3.5 but much of it is applicable to 2.0.


Similar Threads
Thread Thread Starter Forum Replies Last Post
connectivity with sql server 2005. tanzi ASP.NET 1.0 and 1.1 Basics 1 September 25th, 2007 04:00 AM
sql connectivity using stored procedure in asp.net krishna kumari Classic ASP Databases 2 January 17th, 2007 02:45 PM
SQL Server 2005 connectivity anita SQL Server 2005 3 September 20th, 2006 10:17 AM
ASP.NET connectivity with SQL server shupi Classic ASP Databases 0 September 19th, 2005 07:09 AM

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