?
Solved

Best way to get login information to query database? ASP.net 2.0+, C# or VB.net - using the standard login/roles control from ASP.net.

Posted on 2011-03-17
2
Medium Priority
?
334 Views
Last Modified: 2013-12-17
What I'm really trying to do is have a customer login and take that information to query the database.

I have a database with customer numbers. When they login, I would like to have them use their customer number as their login. I would prefer to use the password field if I can. Then I can do  a select based on their cutomer number to only show information that is relevant to them.

It's important they not see other customer's information so I want to use a numeric value that is already in the database as their login.

I plan to use the standard login control in ASP.net so am wondering if there is a way to do this?

Thanks,
MHenry
0
Comment
Question by:MHenry
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
Trideep Patel earned 2000 total points
ID: 35162914
0
 
LVL 7

Author Comment

by:MHenry
ID: 35166157
trideep,

I'll check those links out. But at first glance it's going to be a lot of work to get from those to where I want to be...

Thanks,
MHenry
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question