摘要: winform窗体: winform窗体后台代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using 阅读全文
posted @ 2021-01-15 16:16 幸运(● ̄(エ) ̄●) 阅读(654) 评论(0) 推荐(0) 编辑
摘要: function GetDateStr(AddDayCount) { var dd = new Date(); dd.setDate(dd.getDate() + AddDayCount); //获取AddDayCount天后的日期 var y = dd.getFullYear(); var m = 阅读全文
posted @ 2021-01-14 09:32 幸运(● ̄(エ) ̄●) 阅读(100) 评论(1) 推荐(0) 编辑
摘要: 要实现从一个页面A跳到另一个页面B,js实现就在A的js代码加跳转代码 JS跳转大概有以下几种方式: 第一种:(跳转到b.html)<script language="javascript" type="text/javascript">window.location.href="b.html";< 阅读全文
posted @ 2021-01-13 10:14 幸运(● ̄(エ) ̄●) 阅读(2102) 评论(0) 推荐(0) 编辑
摘要: 一、此方法火狐有些版本是不支持的 window.location.href = 'https://*****.oss-cn-**.aliyuncs.com/*********'; 二、为了解决火狐有些版本不支持,可以改成这种方式 window.location='https://*****.oss- 阅读全文
posted @ 2020-12-30 09:28 幸运(● ̄(エ) ̄●) 阅读(11773) 评论(1) 推荐(1) 编辑
摘要: 声明 var map = new Map(); 设值 map.set("key","value"); 取值 map.get("key"); 判断key是否存在 map.has("key"); 删除key map.delete("key"); 阅读全文
posted @ 2020-12-16 15:56 幸运(● ̄(エ) ̄●) 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 一、开发环境 操作系统:Windows 10 X64 开发环境:VS2015 编程语言:C# .NET版本:.NET Framework 4.0 目标平台:X86 二、创建Windows Service 1、新建一个Windows Service,并将项目名称改为“MyWindowsService” 阅读全文
posted @ 2020-12-16 09:56 幸运(● ̄(エ) ̄●) 阅读(91) 评论(0) 推荐(0) 编辑
摘要: --1、查看表空间USERS使用情况SELECT T.TABLESPACE_NAME,D.FILE_NAME,D.AUTOEXTENSIBLE,D.BYTES,D.MAXBYTES,D.STATUSFROM DBA_TABLESPACES T,DBA_DATA_FILES DWHERE T.TABL 阅读全文
posted @ 2020-12-15 10:03 幸运(● ̄(エ) ̄●) 阅读(279) 评论(0) 推荐(0) 编辑
摘要: #region 获取Token /// <summary> /// 获取Token /// </summary> public string GetAccessToken() { string requestUrl = "https://qyapi.weixin.qq.com/cgi-bin/get 阅读全文
posted @ 2020-10-14 17:38 幸运(● ̄(エ) ̄●) 阅读(2009) 评论(0) 推荐(0) 编辑
摘要: 获取应用程序: (1)提供:corpid(企业id)例如:xxxxxxxxxxxx (2)提供:secret(应用程序secret)例如:xxxxxxxxxxxxxxxxxxxxxxxx (3)通过corpid和secret 获取access_token 格式如下地址: https://qyapi. 阅读全文
posted @ 2020-10-14 17:24 幸运(● ̄(エ) ̄●) 阅读(706) 评论(0) 推荐(0) 编辑
摘要: 话不多说直接上代码 //监听授权按钮 form.on('submit(Authorization)', function (data) { var userid = document.getElementById("UserId").value; var checkedData = tree.get 阅读全文
posted @ 2020-09-06 14:14 幸运(● ̄(エ) ̄●) 阅读(1314) 评论(0) 推荐(0) 编辑
Document