What is LoginName control in ASP.NET
LoginName control: This control is a placeholder that displays the username of the user. If the current user is anonymous (that is, not authenticated), this control does not render any output.
The LoginName exposes a FormatString property that you can use to display more than just the username. For example, the FormatString could be set to "Welcome, {0}", which would produce the output "Welcome, John" when John is logged in.
The LoginName exposes a FormatString property that you can use to display more than just the username. For example, the FormatString could be set to "Welcome, {0}", which would produce the output "Welcome, John" when John is logged in.
Labels: Asp.Net

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home