If you are trying to use a class library you'll have to Add reference System.Web and System.Web.ApplicationServices
Then Add a using directive to the System.Web.Security namespace in your class - this will give you direct access to the Membership class.
C#:
Happy Programming :)
Then Add a using directive to the System.Web.Security namespace in your class - this will give you direct access to the Membership class.
C#:
using System.Web.Security;Example:
using System.Web.Security; namespace ClassLibrary { public class Class1 : MembershipProvider { } }
Happy Programming :)
No comments:
Post a Comment