摘要:
//类名:EcanRMB //作用:数字转换为人民币大写 //作者: //时间: using System; using System.Collections.Generic; using System.Text; namespace Ecan { public class EcanRMB { // 阅读全文
posted @ 2020-09-14 17:31
积山海
阅读(276)
评论(0)
推荐(1)
摘要:
public class CheckUtil { /// <summary> /// 检测DataSet是否有数据 /// </summary> /// <param name="ds"></param> /// <returns></returns> public static bool Chec 阅读全文
posted @ 2020-09-14 17:26
积山海
阅读(303)
评论(0)
推荐(0)
摘要:
//安装windows服务%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe YHMesssge.exeNet Start Service1sc config Service1 start= auto //卸载windows 阅读全文
posted @ 2020-09-14 17:25
积山海
阅读(387)
评论(0)
推荐(0)
摘要:
using System.IO; public class PublicWriteError { private static StreamWriter streamWriter; /// <summary> /// /// </summary> /// <param name="message"> 阅读全文
posted @ 2020-09-14 17:15
积山海
阅读(225)
评论(0)
推荐(0)
摘要:
class ArrayToDataTable { //例子: string[] xqdw = XQDW.Split(','); string[] xmmc = XMMC.Split(','); DataTable UserDt = Convert("USER_CODE", usercode); st 阅读全文
posted @ 2020-09-14 17:14
积山海
阅读(905)
评论(0)
推荐(0)
摘要:
/******************************************************************************** ** 作者: ** 创始时间: ** 修改人: ** 修改时间: ** 修改人: ** 修改时间: ** 描述: ** 命名空间: $r 阅读全文
posted @ 2020-09-14 17:10
积山海
阅读(298)
评论(0)
推荐(0)
摘要:
/// <summary> /// 判断当前页面是否接收到了Post请求 /// </summary> /// <returns>是否接收到了Post请求</returns> public static bool IsPost() { return HttpContext.Current.Reque 阅读全文
posted @ 2020-09-14 17:09
积山海
阅读(681)
评论(0)
推荐(0)
摘要:
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; public class HttpRequestUtil 阅读全文
posted @ 2020-09-14 17:08
积山海
阅读(478)
评论(0)
推荐(0)
摘要:
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using Newtonsoft.Json; using Newtons 阅读全文
posted @ 2020-09-14 17:07
积山海
阅读(401)
评论(0)
推荐(0)
摘要:
window.history.go(-1) 是返回上一页window.location.go(-1) 是刷新上一页 阅读全文
posted @ 2020-09-14 17:04
积山海
阅读(134)
评论(0)
推荐(0)
摘要:
$.ajaxSetup({ async: false }); $.ajaxSetup({ async: true }); 阅读全文
posted @ 2020-09-14 17:03
积山海
阅读(129)
评论(0)
推荐(0)
摘要:
onkeyup="clearNoNum(this);" onafterpaste="clearNoNum(this);" // #region 限制输入为数字 function clearNoNum(obj) { //先把非数字的都替换掉,除了数字和. obj.value = obj.value.r 阅读全文
posted @ 2020-09-14 17:02
积山海
阅读(169)
评论(0)
推荐(0)
摘要:
function IEVersion() { var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf( 阅读全文
posted @ 2020-09-14 16:59
积山海
阅读(355)
评论(0)
推荐(0)
摘要:
WeixinJSBridge.call('closeWindow'); 阅读全文
posted @ 2020-09-14 16:58
积山海
阅读(766)
评论(0)
推荐(0)
摘要:
var time = new Date(); // 程序计时的月从0开始取值后+1 var m = time.getMonth() + 1; var t = time.getFullYear() + "-" + m + "-" + time.getDate() + " " + time.getHou 阅读全文
posted @ 2020-09-14 16:54
积山海
阅读(218)
评论(0)
推荐(0)
摘要:
function getUrlParam (paras) { var url = location.href; var paraString = url.substring(url.indexOf("?") + 1, url.length).split("&"); var paraObj = {} 阅读全文
posted @ 2020-09-14 16:53
积山海
阅读(198)
评论(0)
推荐(0)
摘要:
var r = /^\+?[1-9][0-9]*$/; //判断是否为正整数 r.test(str); 或者: function isNumber(value) { //验证是否为数字 var patrn = /^(-)?\d+(\.\d+)?$/; if (patrn.exec(value) == 阅读全文
posted @ 2020-09-14 16:51
积山海
阅读(428)
评论(0)
推荐(0)
摘要:
onclick: 鼠标单击触发 ondblclick: 双击触发 onmouseover: 鼠标移动上面触发 onmouseout: 鼠标离开时触发 onmousemove: 鼠标在上面移动时触发 onchange: 只要内容改变触发 onblur: 失去焦点时触发 onfocus: 获得焦点时触发 阅读全文
posted @ 2020-09-14 16:50
积山海
阅读(1078)
评论(0)
推荐(0)
摘要:
//获取当前网址,如: http://localhost:8083/uimcardprj/share/meun.jsp var curWwwPath = window.document.location.href; //获取主机地址之后的目录,如: uimcardprj/share/meun.jsp 阅读全文
posted @ 2020-09-14 16:22
积山海
阅读(818)
评论(0)
推荐(0)
摘要:
<script type="text/javascript"> //处理键盘事件 禁止后退键(Backspace)密码或单行、多行文本框除外 function banBackSpace(e){ var ev = e || window.event;//获取event对象 var obj = ev.t 阅读全文
posted @ 2020-09-14 16:21
积山海
阅读(593)
评论(0)
推荐(0)
摘要:
--获取指定页的数据: CREATE PROCEDURE pagination3 @tblName varchar(255), -- 表名 @strGetFields varchar(1000) = ''*'', -- 需要返回的列 @fldName varchar(255)='''', -- 排序 阅读全文
posted @ 2020-09-14 16:19
积山海
阅读(17)
评论(0)
推荐(0)
摘要:
SELECT TOP 1000 ST.text AS '执行的SQL语句', QS.execution_count AS '执行次数', QS.total_elapsed_time AS '耗时', QS.total_logical_reads AS '逻辑读取次数', QS.total_logic 阅读全文
posted @ 2020-09-14 16:17
积山海
阅读(342)
评论(0)
推荐(0)
摘要:
Sys.SysProcesses 系统表是一个很重要的系统视图,主要用来定位与解决Sql Server的阻塞和死锁 视图中主要的字段:1. Spid:Sql Servr 会话ID2. Kpid:Windows 线程ID3. Blocked:正在阻塞求情的会话 ID。如果此列为 Null,则标识请求未 阅读全文
posted @ 2020-09-14 15:34
积山海
阅读(10067)
评论(0)
推荐(0)
摘要:
select * from ( select b.TABLE_NAME+'.'+b.COLUMN_NAME as lie2 from UltimusBusiness.INFORMATION_SCHEMA.COLUMNS b except select a.TABLE_NAME+'.'+a.COLUM 阅读全文
posted @ 2020-09-14 15:32
积山海
阅读(340)
评论(0)
推荐(0)
摘要:
create or replace function GetWtlxname(guidname in varchar2) --定义参数 return varchar2 as pwtlxname varchar2(2000); begin --将行转换成列 select wm_concat(wtlxn 阅读全文
posted @ 2020-09-14 15:30
积山海
阅读(501)
评论(0)
推荐(0)
摘要:
create or replace function count_rows(table_name in varchar2, owner in varchar2 default null) return number authid current_user IS num_rows number; st 阅读全文
posted @ 2020-09-14 14:27
积山海
阅读(3196)
评论(1)
推荐(0)
摘要:
oracle创建用户与数据库 --1、创建表空间,文件位置请按照安装目录去修改 Create tablespace FLOW_data datafile 'D:\ORADATA\ORCL\FLOW_data.DBF' size 100M AutoExtend On Next 100M Maxsize 阅读全文
posted @ 2020-09-14 14:26
积山海
阅读(448)
评论(0)
推荐(0)

浙公网安备 33010602011771号