• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

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.

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
MHenry
Asked:
MHenry
1 Solution
 
MHenryAuthor Commented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now