上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: <script type="text/javascript"> function printZpl(zpl) {var printWindow = window.open();printWindow.document.open('text/plain')printWindow.document.wr 阅读全文
posted @ 2017-12-29 16:43 chengeng 阅读(3181) 评论(0) 推荐(0)
摘要: //遍历table var tableObj = document.getElementById("tableName");var str = "";for(var i=0;i<tableObj.rows.length;i++){ for(varj=0;j<tableObj.rows[i].cell 阅读全文
posted @ 2017-12-07 13:39 chengeng 阅读(244) 评论(0) 推荐(0)
摘要: <html lang="zh-ch"><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-wid 阅读全文
posted @ 2017-10-16 11:06 chengeng 阅读(1758) 评论(0) 推荐(0)
摘要: 两个主要方法 /// <summary>/// 用途:/// 用源表和目标表比较,返回差异的数据(目标表为参照物)/// /// 逻辑:/// 1、合并两个表/// 2、循环合并后得到的表,判断是否在目标表中存在,如果不存在,则是新增的,RowState为设置为ADD,如果存在,RowState设置 阅读全文
posted @ 2017-09-11 16:14 chengeng 阅读(352) 评论(0) 推荐(0)
摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 // // Microsoft Data Access Application Block 阅读全文
posted @ 2017-08-18 09:08 chengeng 阅读(237) 评论(0) 推荐(0)
摘要: SQL Server 2005 新增 cross apply 和 outer apply 联接语句,增加这两个东东有啥作用呢? 我们知道有个 SQL Server 2000 中有个 cross join 是用于交叉联接的。实际上增加 cross apply 和 outer apply 是用于交叉联接 阅读全文
posted @ 2017-07-12 11:37 chengeng 阅读(568) 评论(0) 推荐(0)
摘要: 1、装完读取插件才可以对EXCEL读取 Excel 2010 读取数据插件 https://www.microsoft.com/zh-CN/download/details.aspx?id=13255 2、ExcelHelper,需要引用Excel COM组件 using System;using 阅读全文
posted @ 2017-06-18 23:20 chengeng 阅读(212) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web; using System.Text;using System.IO;using System.Drawing;using System. 阅读全文
posted @ 2017-04-11 11:10 chengeng 阅读(359) 评论(0) 推荐(0)
摘要: -- 全数据库索引重建 DECLARE @name varchar(100)DECLARE authors_cursor CURSOR FOR Select [name] from sysobjects where xtype='u' order by idOPEN authors_cursorFE 阅读全文
posted @ 2017-02-21 10:03 chengeng 阅读(151) 评论(0) 推荐(0)
摘要: /*********完整备份作业*********/ –完整备份,每周一次 USE Master GO declare @str varchar(100) set @str='D:\DBtext\jgj\DBABak\FullBak'+replace(replace(replace(convert( 阅读全文
posted @ 2017-01-11 09:24 chengeng 阅读(1949) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页