.Net 文本框实现内容提示(仿Google、Baidu)
2014-02-27 20:58
597 查看
原文:.Net 文本框实现内容提示(仿Google、Baidu)
1.Demo下载:
文本框实现内容提示(仿Google、Baidu).rar
2.创建数据库、表(我用的sqlserver2008数据库)
View Code
1.Demo下载:
文本框实现内容提示(仿Google、Baidu).rar
2.创建数据库、表(我用的sqlserver2008数据库)
<?xml version="1.0"?> <!-- 有关如何配置 ASP.NET 应用程序的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <configSections> <section name="SubSonicService" type="SubSonic.SubSonicSection, SubSonic" requirePermission="false"/> </configSections> <connectionStrings> <add name="DemoTo" 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 name="DemoTo" 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 name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" /> </providers> </membership> <profile> <providers> <clear/> <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/> </providers> </profile> <roleManager enabled="false"> <providers> <clear/> <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" /> <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" /> </providers> </roleManager> </system.web> <system.webServer> <modules runAllManagedModulesForAllRequests="true"/> </system.webServer> </configuration>
View Code
相关文章推荐
- .Net 文本框实现内容提示的实例代码(仿Google、Baidu)
- .Net 文本框实现内容提示的实例代码(仿Google、Baidu)
- jquery实现自动提示的文本框(仿baidu,google搜索)
- JS实现在文本框输入时自动弹出相关内容提示
- 文本框输入时 实现自动提示(像百度、google一样)
- 文本框输入时 实现自动提示(像百度、google一样)
- ASP.NET实验五:实现输入内容提示的功能(仿google_百度输入框提示)
- 实现类似google搜索效果,文本框输入智能提示,(经过改进 支持多个文本框的效果)
- 使用EasyUI实现文本框内容长度验证,对文本框输入内容提示“剩余可输入字数”
- 实现输入内容提示的功能(仿google_百度输入框提示)jquery.ui.autocomplete.js插件
- 实现类似于google,baidu的搜索提示功能,带有上下键选择功能
- 实现类似google搜索效果,文本框输入智能提示,没有用ajax控件和第三方控件,完全手写代码
- jquery+MVC 实现類似baidu,google搜索 提示下拉框
- 两种方法实现文本框输入内容提示消失
- 实现输入内容提示的功能(仿google_百度输入框提示)jquery.ui.autocomplete.js插件
- mootools实现搜索提示文本框 (仿GOOGLE)
- 实现当文本框为空时,按钮不可点击,当文本框中的内容与列表中的内容相同时有提示且按钮也不可点击哟!
- html input文本框 输入框提示(hint)内容的实现
- 文本框输入内容提示消失的两种实现
- 文本框输入时 实现自动提示(像百度、google一样)