hi i need to store the userid of the logged user in another table,
i got this code
cmd.Parameters.Add("@userId", Membership.GetUser.ProvideUserKey.ToString())
but this throws me this error:
Error 1 'ProvideUserKey' is not a member of 'System.Web.Security.MembershipUser'
what am i doing wrong?
thanks