For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > February 2006 > Login control with RadioBox control









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Login control with RadioBox control
wei

2006-02-28, 7:03 pm

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!!!

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com