The default location is C:\Program Files\Microsoft\ASP.NET Provider Toolkit SQL Samples\ and you'll need to copy these files into your web folder. The membership one is SQLMembershipProvider.cs. Using the tutorials is a good way to get to understand the
providers.
Having said that though, you don't have to use the providers. If your needs are simple, then there's nothing stopping you from writing your own login code. To show the user name all you have to do is get the name from databsae once they've logged in. Or,
probably easier, is once they've logged in just store the name in the session, so you don't have to fetch it again.
Marked as answer by achuthan1988 on Apr 25, 2012 12:51 PM
Dave Sussman
All-Star
37716 Points
5005 Posts
ASPInsiders
MVP
Re: Doubt regarding login control..
Apr 24, 2012 12:15 PM|LINK
The default location is C:\Program Files\Microsoft\ASP.NET Provider Toolkit SQL Samples\ and you'll need to copy these files into your web folder. The membership one is SQLMembershipProvider.cs. Using the tutorials is a good way to get to understand the providers.
Having said that though, you don't have to use the providers. If your needs are simple, then there's nothing stopping you from writing your own login code. To show the user name all you have to do is get the name from databsae once they've logged in. Or, probably easier, is once they've logged in just store the name in the session, so you don't have to fetch it again.