1.this is a real problem when releasing your website .for updating your database ,I suggest excuting some commands to build the table you want to create.just build a page to type in some sql commands . 2.use the Membership and MembershipUser class,you can find the Mothods in Msdn.
1.没有人强迫你用SQL Express,正如没有人强迫你用Access一样。如果你用SQL Express,那么就按照对待mdb的方式对待mdf,SQL Express是Access在这方面应用的替代品,这是它的产品定位。如果你不喜欢它,或者说你需要的数据库不是这种定位,那么你可以用回SQL Server 2000或者SQL Server 2005(从Standard到Enterprice的任何一个版本),用aspnet_regsql.exe把站点使用的数据库注册为你指定的数据库就行了。2.自带的Membership相关控件,你当它是一个sample好了,不要尝试好像Personal Site Starter Kit那样去用。Personal Site Starter Kit就是准备你通过站点配置来管理的。你要做自己的系统的话,你必须自己去重新做UI封装Membership相关的指令。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货