5 pts.
 Create a simple login in asp.net C#
hi i m learning c# 2008 and i want to create a login that can access the username and password fields from the database and redirect to particular pages, after they are matched from their respective textboxes. So please tell me how should I use my connections and pass query?? Thanks.

Software/Hardware used:
ASKED: August 22, 2009  6:04 AM
UPDATED: January 23, 2010  7:56 PM

Answer Wiki:
Read up <a href="http://msdn.microsoft.com/en-us/library/system.data.sqlclient.aspx">here</a>. The particular object you will be using are: <a href="http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.aspx">SqlConnection</a> <a href="http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.aspx">SqlCommand</a> <a href="http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.aspx">SqlDataReader</a> All of them have an example at the bottom. If you aren't using Sql Server, there are several other ADO object for connection to other database.
Last Wiki Answer Submitted:  January 23, 2010  7:56 pm  by  Gent01   1,870 pts.
All Answer Wiki Contributors:  Gent01   1,870 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _