I need to connect Visual Studio 2010 website to SQL Server 2005. My web site is ASP.NET using C#,
on the .NET Framework 2.0
I googled it for hours and every site i entered the information didn't seemed relevant.
Maybe I just don't understand.
I would appreciate if someone showed me from where to begin.
For example: I created a login form using login control from the toolbox but don't know how to continue from here, how do I get the password and username from the database?
Best Solution
To create a connection string follow my-steps:
now go to web.config and see the connection configuration.
If you want to use registered users and logins in your application, Use Asp.net membership.For more Info Use Membership in ASP.NET 2.0