Author: misuk11 | Posted on: 7/28/2009 3:02:13 AM | Views : 1079

Im binding a Gridview to a MembershipUserCollection and want to provide an edit function for existing users.  The users are displayed in a grid, in the grid I have an edit button.  Id normally set the CommandArgument to the underlying primary key.
There doesnt seem to be a way to retrive the UserID.  I can get to it in the C# codebehind by using the providerKey, but what do I have to set the DatakeyNames to ?  using DataKeyNames="UserID" generates an error

...

Go to the complete details ...