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