摘要:
/// /// 分页 /// /// 一页显示多少条记录 /// 当前页 /// 表名 /// 条件 /// 排序字段 /// 排序方式 /// public DataTable zdypadding(int pagesize, i... 阅读全文
摘要:
public DataTable getzdydtsellout(int userid) { DataTable table = new DataTable(); DataTable zdydt = null; table = gongyongdt(); DataRow NewRow; ... 阅读全文
摘要:
/// /// 返还分好页的数据源 /// /// 条件 /// 表名 /// 主键 /// 排序字段 /// 当前页 /// 数据源 /// 页码 /// 排序方式 /// public DataTa... 阅读全文
摘要:
public string getnumber(string mathnum) { Hashtable ht = new Hashtable(); ht.Add("0", "零"); ht.Add("1", "一"); ht.Add("2", "二"); ht.A... 阅读全文
摘要:
public string SqlFilter2(string InText) { string word = "and|exec|insert|select|delete|update|chr|mid|master|or|truncate|char|declare|join|script|SCRIPT|"; returnstr =... 阅读全文
摘要:
gridview,datagrid(绑定事件:RowDataBound) /****/ if (e.Row.RowType == DataControlRowType.DataRow) { } /****/ datalist,repeater if(e.item.itemtype==listitemtype.item||e.item.i... 阅读全文
摘要:
using System;using System.Collections;using System.Collections.Generic; using System.Text; using System.Web.Script.Serialization;namespace json{ /**//// <summary> /// JSONHelper 的摘要说明 /// </s... 阅读全文