asp.net技术
文章平均质量分 74
ji_ju
.net
展开
-
很好用的验证码代码
1.验证码一:写成一般处理文件WaterMark.ashxusing System;using System.Web;using System.Drawing;using System.Drawing.Drawing2D;using System.Web.SessionState; public class WaterMark : IHttpHandler,转载 2009-07-19 21:40:00 · 3699 阅读 · 5 评论 -
运行phpmysqladmin时出现Cannot start session without errors, please check errors Cannot start session wit
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation pro原创 2011-07-13 11:33:08 · 828 阅读 · 0 评论 -
vs2005 没有ASP.NET WEB应用程序(Application)的解决方案
vs2005 sp1下载地址 VS80sp1-KB926604-X86-CHS.exeWebApplicationProjectSetup.msi 在办公室电脑中装完VS2005,发现 新建项目中没有ASP.NETWEB应用程序,上网查了一下,发现这个解决方案确实能行。 1.转载 2011-07-08 22:20:48 · 602 阅读 · 0 评论 -
C#连接数据库的新方法(通过web.config配置文件)
方法一、 1、web.config中下加入以下连接代码 2、在后台代码中加入以下代码,其中Test为web.config中数据连接的名称(name) SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionSt原创 2009-07-08 19:40:00 · 1254 阅读 · 1 评论 -
AspNetPager 分页的样式
AspNetPager分页样式的使用 CSS代码: .anpager .cpb {background:#1F3A87none repeat scroll 0 0;border:1px solid#CCCCCC;color:#FFFFFF;font-weight:bold;margin:5px 4px 0 0;padding:4px5px 0;} .anpager a原创 2009-08-18 00:25:00 · 723 阅读 · 0 评论 -
使用AspNetPager控件实现GridView分页
aspx文件代码: 使用AspNetPager控件实现GridView分页 <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CustomInfoHTML="共%PageCount%页原创 2009-08-18 00:18:00 · 2074 阅读 · 16 评论 -
Repeater分页显示最普通的方法
页首上一页下一页页尾第页/共页跳至<asp:DropDownListID="DropDownList1" runat="server"> 简单的说,先从控件工具箱中拖入两个label(currten page当前页,count page总页),四个linkbuttion(首/下页/上页/尾页)。无非就是+1 -原创 2009-08-09 22:47:00 · 380 阅读 · 0 评论 -
居于GridView的万能分页代码分享
大家往往在分页时感觉不好控制,在这里只需要在GridView里面的PagerTemplate模板里进行设置就可以了。 具体就是在GridView里面添加如下: 1. 2. <asp:LinkButton ID="cmdFirstPage" runat="server" CommandName="Page" CommandArgument="Fi转载 2009-08-02 22:58:00 · 481 阅读 · 0 评论 -
FCKeditor 的各项属性设置详细说明
FCKeditor设置文件 "fckconfig.js"FCKConfig.CustomConfigurationsPath = ; // 自定义配置文件路径和名称FCKConfig.EditorAreaCSS = FCKConfig.BasePath + css/fck_editorarea.css; // 编辑区的样式表文件FCKConfig.Ed原创 2009-08-01 02:21:00 · 1059 阅读 · 1 评论 -
FCKeditor.Net 2.6.3 配置说明与文件精简
FCKeditor是一个功能强大支持所见即所得功能的文本编辑器,可以为用户提供微软office软件一样的在线文档编辑服务。它不需要安装任何形式的客户端,兼容绝大多数主流浏览器,支持ASP.Net、ASP、ColdFusion、PHP、Java、Active-FoxPro、Lasso、Perl、ython 等编程环境。官方网站 http://www.fckeditor.net/官原创 2009-08-01 01:32:00 · 494 阅读 · 0 评论 -
vs2010新功能,针对ASP.NET的23个新功能
VS2010中针对ASP.NET的23个新功能 1、代码片段(Code Snippets): 代码段是预先开发的代码模板,可以节省我们对有关语法思考的时间。在VS 2005和VS 2008中,已经有建立了很多代码段。不过,这些只适用于隐藏代码(code behin转载 2011-07-24 15:26:31 · 532 阅读 · 0 评论