zoukankan      html  css  js  c++  java
  • 在网上找了一个SqlMembershipProvider 的例子,今天在这里给大家贴出来

    下面可以说是非常有用,把每个 membershipProvider 的方法都重载了.
    //SqlMembershipProvider.cs
    using System;
    using System.Collections.Specialized;
    using System.Data;
    using System.Data.SqlClient;
    using System.Security.Cryptography;
    using System.Text.RegularExpressions;
    using System.Configuration;
    using System.Configuration.Provider;
    using System.Text;
    using System.Web.Security;
    using System.Web;

    namespace CustomComponents
    {
      
    /// <summary>
      
    /// Specifically designed to store user information in and to retrieve
      
    /// user information from aspnetdb database
      
    /// </summary>

      public class SqlMembershipProvider : MembershipProvider
      
    {
        
    Non-overridable Methods

        
    Overridable Properties

        
    Overridable Methods
      }

    }
     
  • 相关阅读:
    4-8 求二叉树高度 (20分)
    汉诺塔的递归和非递归实现
    5-18 银行业务队列简单模拟 (25分)
    ACM 刷题小技巧【转】
    5-21 求前缀表达式的值(25分)
    5-20 表达式转换 (25分)
    约瑟夫环----循环链表问题
    关于埃拉托色尼筛选法的整理(质数问题)
    编码---隐藏在计算机软硬件背后的语言
    内排序和外排序扫盲
  • 原文地址:https://www.cnblogs.com/xiaotuni/p/2365785.html
Copyright © 2011-2022 走看看