Login control with RadioBox control

Discussion in 'Microsoft ASP .NET' started by Guest, Feb 28, 2006.

  1. Guest

    Guest Guest

    Hello All
    I want to add RadioBox control or DropDownList control to my login page, so
    the user can choose which database they want to use, but after I added
    RadioBox control, It shows me the name" xxx" does not exist in the current
    context.
    below is code
    protected void Login_Authenticate(object ..., Auth....)
    {
    string whichConnection;
    if( RadioBox1.Checked =="DB1") <-------- no RadioBox1 :(
    whichConnection ==predefined connection 1
    .....

    }

    or do I need to make customizing Login control myself

    any help will really appricated!!!
     
    Guest, Feb 28, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Natty Gur
    Replies:
    0
    Views:
    488
    Natty Gur
    Jul 2, 2003
  2. Child

    Stupid error - Radiobox list...

    Child, Dec 30, 2003, in forum: Microsoft ASP .NET
    Replies:
    1
    Views:
    171
    Natty Gur
    Dec 30, 2003
  3. ike2010

    How to center login button in Login control?

    ike2010, Nov 15, 2005, in forum: Microsoft ASP .NET
    Replies:
    0
    Views:
    582
    ike2010
    Nov 15, 2005
  4. ad

    Can login with Login Control

    ad, Aug 28, 2006, in forum: Microsoft ASP .NET
    Replies:
    9
    Views:
    206
    Tim_Mac
    Aug 31, 2006
  5. Sasquatch

    Can't create simple login page using asp:login control

    Sasquatch, Oct 3, 2006, in forum: Microsoft ASP .NET
    Replies:
    2
    Views:
    478
    Sasquatch
    Oct 3, 2006
Loading...

Share This Page