love u
摘要: declare @gonghao nvarchar(50)declare @LowValueAssetsID nvarchar(50)declare @CreateTime dateTimedeclare user_cur cursor for select LowValueAssetsID,gonghao,CreateTime from LowValueAssets open user_cur while @@fetch_status=0 begin--读取游标 fetch next from user_cur into @LowValueAssetsID,@gonghao,@C... 阅读全文
posted @ 2013-10-18 09:03 王云云 阅读(306) 评论(0) 推荐(0) 编辑
摘要: dv.RowFilter = "Country = 'USA'";dv.RowFilter = "EmployeeID >5 AND Birthdate 0)DataView dv=new DataView(dataTable);dataTable dt = 数据源or DataView dv = dt.defaultView//以下代码示例禁用通过 DataView 删除行的功能,并使用 DataView 向基础表中添加新行。DataTable custTable = custDS.Tables["Customers"] 阅读全文
posted @ 2013-10-11 14:47 王云云 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 专业 班号 班级名称 年级 ... 阅读全文
posted @ 2013-10-06 11:07 王云云 阅读(561) 评论(0) 推荐(0) 编辑
摘要: asp.net 导出Excel 阅读全文
posted @ 2013-09-26 14:35 王云云 阅读(196) 评论(0) 推荐(0) 编辑
摘要: C# 导出Excel(csv ) 阅读全文
posted @ 2013-09-26 11:29 王云云 阅读(454) 评论(1) 推荐(0) 编辑
摘要: string FuJianName = ""; string sl = ""; if (this.fileUploadImg.HasFile) { //全名 11aa.jpg string fullFileName = this.fileUploadImg.PostedFile.FileName; FuJianName = System.IO.Path.GetFileName(fullFil... 阅读全文
posted @ 2013-09-20 14:59 王云云 阅读(319) 评论(0) 推荐(0) 编辑
摘要: #region "压缩文件" public static int ExecZip(string zipPath,string csvPath) { //声明一个程序信息类 System.Diagnostics.ProcessStartInfo Info = new System.Diagnostics.ProcessStartInfo(); string fn = System.Configuration.ConfigurationManager.AppSettings["ZipExe"].ToS... 阅读全文
posted @ 2013-09-09 13:18 王云云 阅读(668) 评论(3) 推荐(0) 编辑
摘要: private DataSet xsldata(string filepath,string extension) { string strConn = ""; switch (extension) { case ".xls": strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + filepath + ";Extended Properties='Excel ... 阅读全文
posted @ 2013-09-06 11:38 王云云 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 第三波书店-最方便的网上书店 您好, 【登录】【免费注册】 ... 阅读全文
posted @ 2013-09-05 10:07 王云云 阅读(669) 评论(0) 推荐(0) 编辑
摘要: C# 获取文件夹下的文件 阅读全文
posted @ 2013-09-03 11:31 王云云 阅读(328) 评论(0) 推荐(0) 编辑