membershipProvider奇怪的问题?
membershipProvider的每个方法和方法参数和方法输出值都定制好的,如何在Provider 增加自己方法,通过什么调用?
如:对于
public override MembershipUser CreateUser( string username,
string password,
string email,
string passwordQuestion,
string passwordAnswer,
bool isApproved,
object providerUserKey,
out MembershipCreateStatus status )
我想把passwordQuestion,passwordAnswer,isApproved,这些参数去了,而增加一些别的参数,如地址,电话,性别,手机还有邮编等等~
------解决方案--------------------可以在配置文件中加入新项啊。比如:
<properties>
<add name= "city " type= "string "/>
<add name= "street " type= "string "/>
<add name= "InceptNews " type= "string "/>
<add name= "birthday " type= "string "/>