- 博客(10)
- 资源 (2)
- 收藏
- 关注
原创 读取文件 分割 后 修改数据库
public void DealEfileReturn(FileInfo file) { long totalRecords = 0; IList list = Baosight.BPMS.Core.Adapter.BPMSDocUtil.QueryEfileList(0, -1, new SqlFilter("projectNo='090410'and BusinessKey1='13C
2014-07-30 13:55:20 614
原创 字符串替换
string sqlStr = filedict1.FileSourceRemark.ToString(); //取出sh sqlStr=sqlStr.Replace("@rowguid", contract.RowGuid.ToString()); Database db = DatabaseFactory.CreateDatabase(); DbCommand command = d
2014-07-16 13:46:21 538
原创 asp.net 文件压缩
protected void btnZip_Click(object sender, EventArgs e) { //string filePath1 = Server.MapPath("~/ZWB");//取路径 string filePath1 = Path.GetDirectoryName(@"E:\ZWB\"); //取路径
2014-07-01 09:19:32 538
翻译 C# WinForm导出Excel
本文是仿照改的,应为本公式要用到此功能, using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Wi
2012-03-06 16:20:08 792
原创 C#权限设计代码
新增栏目; using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls;
2012-02-15 12:53:14 1416
原创 C# 树形结构
LxCountDAL lxCountDAl = new LxCountDAL(); LxCountDAL Dal = new LxCountDAL(); protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ILi
2012-02-15 12:49:04 1652
转载 c# 下载
//TransmitFile实现下载 protected void Button1_Click(object sender, EventArgs e) { Response.ContentType = "application/x-zip-compressed"; Response.AddHeader("Content
2012-01-18 14:33:05 511
原创 上传附件读取exl
//上传附件 if ((this.FileUpload1.HasFile)) { OleDbConnection conn = new OleDbConnection(); OleDbCommand cmd = new OleDbCommand(); OleDbDataAdapter
2012-01-18 14:25:26 655
原创 Delphi exl Report
Function TForm1.GenExcel: boolean; Var I: Integer; sheet: variant; sTmpRegion, sReportName: String; xlsRange: variant; DN, PN, Customer_PN, Bill_To, Cust_PO, Re_Cfm_dateRe_Cfm_dat
2012-01-18 11:31:41 1039
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人