因为MembershipProvider基类是在命名空间System.Web.Security下,所以必须要创建file-->New-->ASP.Net Web Application-->Empty新项目,才能在代码中使用MembershipProvider基类。 提示: 《C#高级编程...