上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: /// /// 分页 /// /// 一页显示多少条记录 /// 当前页 /// 表名 /// 条件 /// 排序字段 /// 排序方式 /// public DataTable zdypadding(int pagesize, i... 阅读全文
posted @ 2009-01-07 10:49 火精灵 阅读(134) 评论(0) 推荐(0) 编辑
摘要: public DataTable getzdydtsellout(int userid) { DataTable table = new DataTable(); DataTable zdydt = null; table = gongyongdt(); DataRow NewRow; ... 阅读全文
posted @ 2009-01-07 10:46 火精灵 阅读(362) 评论(0) 推荐(0) 编辑
摘要: /// /// 返还分好页的数据源 /// /// 条件 /// 表名 /// 主键 /// 排序字段 /// 当前页 /// 数据源 /// 页码 /// 排序方式 /// public DataTa... 阅读全文
posted @ 2009-01-07 10:45 火精灵 阅读(145) 评论(0) 推荐(0) 编辑
摘要: public string getnumber(string mathnum) { Hashtable ht = new Hashtable(); ht.Add("0", "零"); ht.Add("1", "一"); ht.Add("2", "二"); ht.A... 阅读全文
posted @ 2009-01-07 10:44 火精灵 阅读(392) 评论(0) 推荐(0) 编辑
摘要: public string SqlFilter2(string InText) { string word = "and|exec|insert|select|delete|update|chr|mid|master|or|truncate|char|declare|join|script|SCRIPT|"; returnstr =... 阅读全文
posted @ 2009-01-07 10:43 火精灵 阅读(139) 评论(0) 推荐(0) 编辑
摘要: gridview,datagrid(绑定事件:RowDataBound) /****/ if (e.Row.RowType == DataControlRowType.DataRow) { } /****/ datalist,repeater if(e.item.itemtype==listitemtype.item||e.item.i... 阅读全文
posted @ 2009-01-07 09:24 火精灵 阅读(477) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections;using System.Collections.Generic; using System.Text; using System.Web.Script.Serialization;namespace json{ /**//// <summary> /// JSONHelper 的摘要说明 /// </s... 阅读全文
posted @ 2009-01-07 08:56 火精灵 阅读(3627) 评论(6) 推荐(1) 编辑
摘要: //校验是否全由数字组成 [code] function isDigit(s) { var patrn=/^[0-9]{1,20}$/; if (!patrn.exec(s)) return false return true } [/code] //校验登录名:只能输入5-20个以字母开头、可带数字、“_”、“.”的字串 [code] function isRegiste... 阅读全文
posted @ 2009-01-05 12:55 火精灵 阅读(121) 评论(0) 推荐(0) 编辑
摘要: var form=document.createElement('form'); document.body.appendChild(form); var pos=$("#FileUpload1").get(0).nextSibling; ... 阅读全文
posted @ 2009-01-05 12:29 火精灵 阅读(174) 评论(0) 推荐(0) 编辑
摘要: function Nochar() { var k=window.event.keyCode; if ((k==46)||(k==8)||(k==189)||(k==109)||(k==190)||(k==110)|| (k>=48 && k=96 && k=37 && k<=40)) ... 阅读全文
posted @ 2009-01-05 12:28 火精灵 阅读(144) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页