Author: programercek | Posted on: 4/7/2010 12:58:43 PM | Views : 301

Hi,


I would like to know how to show data based on user name and password?


Example:
User name: user1
Password: pass1

How to show information regarding the name user1 and pass1 ( Students,  teachers, etc...)?


My code:
protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
    {
        TextBox UserNameTextBox =
            (TextBox)CreateUserWizardStep2.ContentTemplateContainer.FindControl("UserName");

        SqlDataSource DataSource =
            (SqlDataSource)CreateUserWizardStep2.ContentTemplateContainer.FindControl("InsertExtra ...

Go to the complete details ...