摘要:
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... 阅读全文
摘要:
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"] 阅读全文
摘要:
专业 班号 班级名称 年级 ... 阅读全文
摘要:
string FuJianName = ""; string sl = ""; if (this.fileUploadImg.HasFile) { //全名 11aa.jpg string fullFileName = this.fileUploadImg.PostedFile.FileName; FuJianName = System.IO.Path.GetFileName(fullFil... 阅读全文
摘要:
#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... 阅读全文
摘要:
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 ... 阅读全文
摘要:
第三波书店-最方便的网上书店 您好, 【登录】【免费注册】 ... 阅读全文