Hi I have a system that allows users to create an account. Theres then an admin side so that if users accounts get locked admin can go on to the unlockuser page where there will be a gridview listing all accounts that are locked out. On each row will be an unlock button, in the back end code I'm using the gridview row command where I have the membershipUser usr = membership.GetUser(); usr.UnlockUser(); All I want to know is what do I put in membershipUser usr = membership.GetUser(); Do I need to create a variable? This has already been created for the gridview in the business layer, I have int32 userID so is this what I put in ()? When i do it appears with a red line, so do I need to declare it in the back end code aswell?
Thanks in advance