Author: EduardoAndres | Posted on: 6/17/2008 5:13:11 PM | Views : 475

Greetings!

I'm using the ASP.Net membership provider. I have a a LoginView control (LoginView1) and a LoginName control (LoginName1) on top of my page. The problem is that I want to pass the name (Login Name) of whoever is logged in into a text box (txtLoginName), and it just been impossible to do it as i thought that the LoginName would have a .TEXT property and it doesn't. I also try LoginName1.ToString(); and it just gives me a long set of words (System.WebCOntrols ...).

Is it possible to pass the loginname into a text box? If so, would someone guide me on how to do this?

By the way I'm using C#.

Thanks, Thanks,

 

Eduardo
...

Go to the complete details ...