get id from membership asp.net code example
Example: membership get user id
MembershipUser mu = Membership.GetUser("username");
string userId = mu.ProviderUserKey.ToString();
MembershipUser mu = Membership.GetUser("username");
string userId = mu.ProviderUserKey.ToString();