05 2021 档案
摘要:看看我 读取日期为new Date()格式 Tue May 18 2021 11:10:17 GMT+0800 (中国标准时间) //非IE的xlsx文件的单元格日期原始值会少43秒或44秒 //读取Excel数据 function getExcelData(file, callback) { va
阅读全文
摘要:版本一 <script> $(function () { //根据contentDocument的高度调整menuFrame的高度 var menuFrame = document.getElementById('menuFrame'); menuFrame.addEventListener('lo
阅读全文
摘要:看看我1 看看我2 Object.keys() Object.values() <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Test</title> <scrip
阅读全文
摘要:看看我 var jsonData = XLSX.utils.sheet_to_json(excelData.Sheets[excelData.SheetNames[0]], { defval: '' //单元格为空时的默认值 });
阅读全文
摘要:看看我 for-in Object.keys(obj) //取值: Object.values(obj); Object.getOwnPropertyNames(obj)
阅读全文
摘要:看看我 My previous post explains how to convert a column to row in JavaScript array. In this post, we will do the same thing but with C# Array and DataTa
阅读全文
摘要:看看我 Sometimes we need to convert a column to row in JavaScript array. It might be helpful to pass it as web service argument, generating chart dynamic
阅读全文
摘要:看看我 select CONVERT(VARCHAR(20),CAST(10000000.126 AS MONEY),1)--带小数点 select REPLACE(CONVERT(VARCHAR(20),CAST(10000000 AS MONEY),1),'.00','')--不带小数点
阅读全文