摘要:
1.用Spire.XLS.dll和Spire.License.dll导入和导出ExcelView Code 1 private void ExportExcelFile() 2 { 3 //创建一个流 4 using (MemoryStream stream = new MemoryStream()) 5 { 6 //创建Excel文档 7 Spire.Xls.Workbook book = new Spire.Xls.Workbook();... 阅读全文
摘要:
From_Ip='192.138.60.16'@echo offfor /f "tokens=1,2 delims='" %%a in (D:\ETL\bat\config.txt) do (if "%%a"=="From_Ip=" set From_Ip=%%b)echo %From_Ip% 结果 阅读全文
摘要:
IF OBJECT_ID('[kkd].[proc_kkd_GetAutoExamineBid]') IS NOT NULL BEGIN DROP PROC [kkd].[proc_kkd_GetAutoExamineBid] END GO CREATE PROC [kkd].[proc_kkd_G 阅读全文
摘要:
Console.WriteLine(GetMaxDepth(list));public static int GetMaxDepth(List list, int? id = null) { if (list == null) throw new Excepti... 阅读全文
摘要:
function getCookie(name)//取cookies函数 { //coook中document.cookie = "age=12; name=1.css"; var arr = document.cookie... 阅读全文
摘要:
var str="abcbababcbababcbababcabcbaba";//主串var ts="bcabcbaba";//子串function BF(s,t){//BF算法 var i=0,j=0,v=-1; while(i=t.length){ ... 阅读全文
摘要:
var i=10;//倒计时时间 var f;//清楚倒计时 function ShowTime() { i--; if(i==0){ document.getElementById("time").innerHTML="正在调整请稍后!"; clearInterval(f);//2清除... 阅读全文
摘要:
//往往json传过来的时间都是"/Date(1405056837780)/"//转换需要的方法String.prototype.ToString = function (format) { var dateTime = new Date(parseInt(this.s... 阅读全文
摘要:
1 SELECT 2 '表名' = e.[name], 3 '表说明' = f.[value], 4 '字段序号' = a.colorder, 5 '字段名' = a.[name], 6 ... 阅读全文