|
查看: 1138|回复: 2
|
custom profile问题
[复制链接]
|
|
|
我用visual studio 2008的login function
我有profile.aspx 和 profile database(username, CustomerFirstName, CustomerLastName, CustomerAdd)
how am i going to catch the user login id and store it into my profile database? |
|
|
|
|
|
|
|
|
|
|
发表于 15-9-2009 10:28 AM
|
显示全部楼层
login user id? 為什么你要拿login user id 然后 insert 進Table?
你的流程是?
通常不是先create login uid 和一些基本Info,才能login 不是么?
還是很不了解你所要的
要insert 進DB就call sqlclient / odbcclient 的function咯
還有用中文發文,才不會被警告,畢竟這里是中文論壇  |
|
|
|
|
|
|
|
|
|
|
发表于 23-9-2009 09:55 PM
|
显示全部楼层
当 user login 之后,必然有 User.Identity.Name,那么当然会知道是谁 login。
过后可以通过你的 custom Profile class 的 method 来 save 咯。 |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|