Inconsistent in setting the member info key

Topics: Developer Discussion
Mar 24, 2008 at 1:39 AM
When user register to be member of the club , the method to insert new info for them is:
MemberInfo.Insert(Addr.Text, Phone.Text, fname.Text, lname.Text, Nothing, CType(user.ProviderUserKey, Guid), NewsletterCheck.Checked)

but in the deatail.asp file, this is how the new membership info being searched, or created
Dim meminf As New MemberInfo(MemberInfo.Columns.Memberid, user.ProviderUserKey())
and
MemberInfo.Insert(Addr.Text, Phone.Text, fname.Text, lname.Text, Nothing, user.ProviderUserKey(), NewsletterCheck.Checked)

This is not right , isn't it.
Can anyone explain for me please,
thanks