摘要:
1.直接将当前页面Repeater里的所有数据导出到Excel (在BtnExcel单击事件里写)//定义文档类型、字符编码 string title = "**统计表" + "_" + DateTime.Today.ToShortDateString(); Response.Clear(); Response.Buffer = true; Response.Charset = "GB2312"; string filename = "attachment;filename=" + ... 阅读全文
摘要:
修改某行某列数据为空 即 字段=NULL读取某行某列数据为空 即 字段 IS NULL 阅读全文
摘要:
Repeater的数据显示控制 /// <summary> /// 显示控制 /// </summary> public void GetDisplayControl() { for (int i = 0; i < lstPurchaseOrder.Items.Count; i++) { string supplierPrice = ((Label)lstPurchaseOrder.Items[i].FindControl("lblSupplierPrice"))... 阅读全文