摘要:
分页是Web应用程序中最常用到的功能之一,AspNetPager 简单实用,应用到项目后台中,棒极了! 自定义样式:后台:
阅读全文
posted @ 2010-03-30 08:35
bluesky
阅读(370)
推荐(0)
摘要:
NPOI简介:http://www.cnblogs.com/tonyqus/archive/2009/03/16/1409966.htmlNPOI官网:http://npoi.codeplex.com/ 实例下载:http://files.cnblogs.com/zhengjuzhuan/NPOIHelper.rar Excel生成操作类: 代码调用方法: 代码
阅读全文
posted @ 2010-03-29 12:53
bluesky
阅读(1091)
推荐(0)
摘要:
http://www.cnblogs.com/xiachufeng/archive/2009/12/29/1635538.htmlTreeNode node = new TreeNode(); node.Text = "上海"; node.Value = "上海"; this.TreeView2.Nodes.Add(node); TreeNode node1 = new TreeNode(); n...
阅读全文
posted @ 2010-03-29 12:38
bluesky
阅读(174)
推荐(0)
摘要:
1.//弹出对话框.点击转向指定页面Response.Write("<script>window.alert('该会员没有提交申请,请重新提交!')</script>");Response.Write("<script>window.location ='http://www.51aspx.com/bizpulic/upmeb.aspx'</script&...
阅读全文
posted @ 2010-03-25 16:26
bluesky
阅读(180)
推荐(0)
摘要:
web 的端口80 FTP的端口是 21 SSH (Secure Shell)服务使用tcp 22 端口TELNET 23 端口DHCP server的端口号是67 MAIL 的端口号是25\110 pop3\smtp 的端口号是 110/25 DNS 的端口号是 53HTTP通信用的端口号是80SMMP:性能测试标准方法mysql默认端口是3306 Sql服务的默认端口. 3389 SQL Se...
阅读全文
posted @ 2010-03-25 16:08
bluesky
阅读(305)
推荐(0)
摘要:
usingSystem.Web;2usingSystem.Configuration;34namespaceMoosoft.OA.HttpModule5{6///<summary>7///SQL注入攻击防御类8///</summary>9publicclassProcessRequest10{11///<summary>12///构造函数13///</su...
阅读全文
posted @ 2010-03-25 16:05
bluesky
阅读(199)
推荐(0)
摘要:
usingSystem;usingSystem.Collections.Generic;usingSystem.IO;usingSystem.Text;usingSystem.Web;namespaceMoosoft.OA.Public{///<summary>///文件系统的处理方法///</summary>///<remarks>文件系统的处理方法</...
阅读全文
posted @ 2010-03-25 16:04
bluesky
阅读(226)
推荐(0)
摘要:
usingSystem;namespaceMoosoft.OA.Public{///<summary>///身份证验证类///</summary>///<remarks>身份证验证类</remarks>internalclassIDCardValid{internalIDCardValid(){////TODO:Addconstructorlogic...
阅读全文
posted @ 2010-03-25 16:03
bluesky
阅读(179)
推荐(0)
摘要:
using System;using System.Collections;using System.IO;using System.Linq;using System.Security.Cryptography;using System.Text;using System.Text.RegularExpressions;using System.Web;using System.Web.Secu...
阅读全文
posted @ 2010-03-25 16:01
bluesky
阅读(648)
推荐(0)
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem.Collections.Generic;usingSystem.IO;usingSystem.Text;usingSystem.Web;usingSystem.Xml;usin...
阅读全文
posted @ 2010-03-25 15:58
bluesky
阅读(342)
推荐(0)
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.IO;usingSystem.Web;usingSystem.Web.UI;usingS...
阅读全文
posted @ 2010-03-25 15:57
bluesky
阅读(414)
推荐(0)
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1usingSystem;2usingSystem.Web;34namespaceMoosoft.OA.Public5{6///<summary>7///Cookie帮助类8///<...
阅读全文
posted @ 2010-03-25 15:54
bluesky
阅读(214)
推荐(0)
摘要:
Asp.net中,有的时候在执行某个操作的时候希望能够弹出一些信息框:alert弹出的警告信息框,confirm弹出的包含确认和取消两个按钮的信息框,以及prompt弹出的输入数据的对话框。这里有两种方法来实现。 一种是采用javascript函数来实现,代码将应用与.aspx文件的源代码(html语言)中,在HTML控件中调用javascript函数来实现Alert、Confirm、Prompt...
阅读全文
posted @ 2010-03-25 15:50
bluesky
阅读(412)
推荐(0)
摘要:
最普通的写法是 [代码]这种方法当弹出消息框时背景会变白 [代码]//.NET在后置代码中输入JS提示语句(背景不会变白) Page.ClientScript.RegisterStartupScript(Page.GetType(), "message", "<script language='javascript' defer>alert('加入暂存架成功!');</scrip...
阅读全文
posted @ 2010-03-25 15:48
bluesky
阅读(281)
推荐(0)
摘要:
加水印的功能代码如下所示代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///图片修改类,主要是用来保护图片版权的,版权归原作者所有///</summary>publicclasspicmark{#r...
阅读全文
posted @ 2010-03-25 14:32
bluesky
阅读(527)
推荐(0)