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:
    524
    Natty Gur
    Jul 2, 2003
  2. William F. Robertson, Jr.
    Replies:
    0
    Views:
    581
    William F. Robertson, Jr.
    Jul 2, 2003
  3. Child

    Stupid error - Radiobox list...

    Child, Dec 30, 2003, in forum: Microsoft ASP .NET
    Replies:
    1
    Views:
    196
    Natty Gur
    Dec 30, 2003
  4. Hermit Dave

    Forms Login Page Not Login Out

    Hermit Dave, Jan 12, 2004, in forum: Microsoft ASP .NET
    Replies:
    5
    Views:
    326
    Hermit Dave
    Jan 13, 2004
  5. Nans
    Replies:
    2
    Views:
    646
    Martin Marinov
    Jun 17, 2004
  6. ike2010

    How to center login button in Login control?

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

    Can login with Login Control

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

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

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