.Net 文本框实现内容提示的实例代码(仿Google、B(6)

<configuration>
  <configSections>
    <section type="SubSonic.SubSonicSection, SubSonic" requirePermission="false"/>
  </configSections>
  <connectionStrings>
    <add connectionString="Data Source=172.17.118.197;Initial Catalog=DemoTo;User Id=sa;Password=password01!;" providerName="System.Data.SqlClient"/>
  </connectionStrings>
  <SubSonicService defaultProvider="DemoTo">
    <providers>

<add type="SubSonic.SqlDataProvider, SubSonic" connectionStringName="DemoTo" generatedNamespace="Oceansoft.Net" maxPoolSize="2000"/>

</providers>
  </SubSonicService>

<system.web>
    <compilation debug="true" targetFramework="4.0" />

<authentication mode="Forms">
      <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
    </authentication>

<membership>
      <providers>
        <clear/>
        <add type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
             maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
             applicationName="https://www.jb51.net/" />
      </providers>
    </membership>

<profile>
      <providers>
        <clear/>
        <add type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="https://www.jb51.net/"/>
      </providers>
    </profile>

<roleManager enabled="false">
      <providers>
        <clear/>
        <add type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="https://www.jb51.net/" />
        <add type="System.Web.Security.WindowsTokenRoleProvider" applicationName="https://www.jb51.net/" />
      </providers>
    </roleManager>

</system.web>

<system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
  </system.webServer>
</configuration>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wjzxfw.html