Login control

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hi,

How I can programatically get text from password and username edit
boxes within Login control?

Thanks
 
Thanks Husam.
I didn't explain so well, I am not looking for new login control, my
question is in relation with asp.net 2.0 login control.

Mike
 
use object browser to look at System.Web.UI.WebControls.Login (find it by
doing a search for 'login')

I built a test page with login, button and textbox controls. The
button_click contains
TextBox1.Text = Login1.UserName

B o b
 
If youre using a login control, u can get the ID from the MembershipUser class as

Member user = MembershipUser.getUser();
string userID = user.UserName.toString();
string password=user.Password.toString();

THE ABOVE SYNTAX MAY NOT BE Exact, but its something like this one. Hope you must've got the idea.
 
If youre using a login control, u can get the ID from the MembershipUser class as

Member user = MembershipUser.getUser();
string userID = user.UserName.toString();
string password=user.Password.toString();

THE ABOVE SYNTAX MAY NOT BE Exact, but its something like this one. Hope you must've got the idea.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top