摘要:
验证码生成页面代码(清理掉没用的html) using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.We 阅读全文
摘要:
使用NPOI导出,读取EXCEL,具有可追加功能 看代码 1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using System.IO; 5 using System.Data; 6 using 阅读全文
摘要:
全局变量 var lblTimer; var d; ready事件里面写 lblTimer = $("#lbltimer"); d = new Date('<%=DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")%>'); lblTimer.children(" 阅读全文
摘要:
我们知道一般浏览器自动为我们填充用户名密码,单身有的时候我们不需要,那么要怎么做呢? 当你设置属性autocomplete=“off”后会发现然并卵,那么我们就自己动手写js搞定他,实现如下: js全局变量: var pw;//密码框 var un;//用户名框 var pwName;//密码框名称 阅读全文
摘要:
代码如下 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Drawing; 5 using System.Data; 6 using Sys... 阅读全文