Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 19th, 2008, 01:45 AM
Authorized User
 
Join Date: Apr 2007
Location: , , India.
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
Reply With Quote
  #2 (permalink)  
Old March 19th, 2008, 07:10 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

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
http://www.google.com/search?source=...T+-+Membership

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
Reply With Quote
  #3 (permalink)  
Old March 19th, 2008, 09:13 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

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.

-Peter
peterlanoie.blog
Reply With Quote
Reply


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
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



All times are GMT -4. The time now is 10:29 PM.


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