You Tube
Showing posts with label the Web Developer. Show all posts
Showing posts with label the Web Developer. Show all posts
Saturday, 31 December 2011
Wednesday, 9 November 2011
Retrieving Name of Current User
protected void retUser()
{
MembershipUser u = Membership.GetUser(HttpContext.Current.User.Identity.Name);
Label1.Text = u.UserName;
}
Note: But First Check that the User is Login...
{
MembershipUser u = Membership.GetUser(HttpContext.Current.User.Identity.Name);
Label1.Text = u.UserName;
}
Note: But First Check that the User is Login...
Subscribe to:
Posts (Atom)