08 2016 档案
摘要:windows连接hp的远程打印机时,自动装不了驱动。。 需打开驱动程序(驱动程序安装需接设备),然后windows就过下载驱动这步了。。
阅读全文
摘要:var str= '00asfasdfasdf3435asdas874747474asdf'; console.log(str.replace(/[^0-9]+/g, ''));
阅读全文
摘要:////阻止事件冒泡函数和 // 阻止默认浏览器动作(W3C) 要一起使用效果好更多 function historyImg(dom,e) { stopBubble(e); stopDefault(e); } //阻止事件冒泡函数 function stopBubble(e) { if (e && e.stopPropagat...
阅读全文
摘要:select CONVERT(varchar,4)+'m' 输出 4m 若 select 4+'m' 输出:在将 varchar 值 'm' 转换成数据类型 int 时失败。
阅读全文
摘要:命令 slui 1 slui 2 slui 3 slui 4 slmgr.vbs 需打开的服务 需要开启software protection和 SPP Notification service这两个服务 依赖:C:\Windows\System32\dnsapi.dll win 64bit的操作系
阅读全文
摘要:坐标轴从上往下: yAxis: [ { type: 'value', name: '雨量(mm)', nameLocation: 'start', inverse: true } ] nameLocation调整如上图(雨量(mm))的位置
阅读全文
摘要:var date= new Date();date.setMonth(date.getMonth() - 1)console.log(date);
阅读全文
摘要:create proc [dbo].[getColumns] @table_name varchar(30) as begin select a.name 表名,b.name 字段名,c.name 字段类型,c.length 字段长度 from sysobjects a,syscolumns b,systypes c where a.id=b.id and a.name=@table_name ...
阅读全文
摘要:select CONVERT(nvarchar(13),REPLACE(CONVERT(decimal(18,8),GETDATE()),'.',''))
阅读全文
摘要:设置默认值: $("#node_type").combobox('setValue', 1);//设置value 注意:<select required="true" class="easyui-combobox" name="department_id" style="width:150px;ma
阅读全文
摘要:<!DOCTYPE html><html><head> <title>Simple Login Form</title> <meta charset="UTF-8" /> <meta name="Designer" content="PremiumPixels.com"> <meta name="A
阅读全文
摘要:table自适应: (fit:true(设置table)) 列自动撑开:fitColumns: true,注意给列的width属性赋值
阅读全文
摘要:分页要点: easyui自动加上参数 page(当前页) rows(每页显示的行数) 后台返回json格式如 { total:(总行数), rows:(当前页的数据) }
阅读全文
摘要:<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="key
阅读全文
摘要:<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
阅读全文
摘要:using (MemoryStream file = db.ExportExcel(model)) { context.Response.ContentType = "application/vnd.ms-excel"; context.Response.AddHeader("Content-Disposition",...
阅读全文