03 2017 档案
摘要:文本域: 1 <td class="tddata"> 2 <textarea rows="4" id="txtContent" maxlength="200" onkeyup="fun()" name="txtContent" cols="160" style=" margin-top:
阅读全文
摘要:1 public static class DataUtil 2 { 3 #region dataConvert 4 /// <summary> 5 /// 从数据行返回数据实体对象 6 /// </summary> 7 /// <typeparam name="T">数据实体类型</typepar
阅读全文
摘要:1 /// <summary> 2 /// DES加密/解密类。 3 /// </summary> 4 public class HXEncrypt 5 { 6 public HXEncrypt() 7 { 8 } 9 10 #region DES加密 11 12 13 #region 加密 14
阅读全文
摘要:1 /// <summary> 2 /// Json帮助类 3 /// </summary> 4 public class JsonHelper 5 { 6 /// <summary> 7 /// 将对象序列化为JSON格式 8 /// </summary> 9 /// <param name="o
阅读全文
摘要:1 /// <summary>运行时</summary> 2 public static class Runtime 3 { 4 #region 控制台 5 static readonly IntPtr INVALID_HANDLE_VALUE = new IntPtr(-1); 6 7 priva
阅读全文
摘要:1 /// <summary> 2 /// WebBrowser Url生成图片 3 /// HTML转图片 4 /// </summary> 5 public class WebSnapshotsHelper 6 { 7 Bitmap m_Bitmap; 8 string m_Url; 9 int
阅读全文
摘要:问题:在一个页面使用了两个zTree,用选项卡区分,现在要点击节点展示相应的子节点,两个zTree怎么区分? 解决方案: 1 function onCheck(e, treeId, treeNode) { 2 console.log(treeId); 3 //清空所有已选人员 4 $("#yxChk
阅读全文
摘要:由于人员的不段增加varchar(5000)已经不能满足需求,现在的方案是把字段类型由varchar改为text 1 --修改短信人员字段 2 alter table T_BAS_SendMessage alter column [Content] text 3 alter table T_BAS_
阅读全文
摘要:问题如上标题,解决方案如下: 1 --T_ADM_NoticeUsers已读,T_SYS_User所有人员(insert into select语句要求T_ADM_NoticeUsers必须存在,我们可以出入T_SYS_User字段和常量) 2 insert into T_ADM_NoticeUse
阅读全文
摘要:1.SMSInfo_Add页面初始化部门人员并缓存起来 1 $(function () { 2 createInternalUsers(""); 3 createExternalUsers(); 4 $.post("Action.ashx?t=GetUserTree", function () {
阅读全文
摘要:问题:没有终结点在侦听可以接受消息的 http://sdk999ws.eucp.b2m.cn:8080/sdk/SDKService。这通常是由于不正确的地址或者 SOAP 操作导致的。如果存在此情况,请参见 InnerException 以了解详细信息。解决方案: 把web.config配置文件里
阅读全文
摘要:1.枚举 1 /// <summary> 2 /// 语言类别 3 /// </summary> 4 public enum LanguageType 5 { 6 [Description("所有语言")] 7 All = 0, 8 9 [Description("中文")] 10 cn = 1,
阅读全文
摘要:花了4个小时,把书看完了;最大的收获是那些神一般的人物,他们做的都是自己感兴趣的事情,而且不断突破自己,遇到技术上的问题,目前社会上没有相关的解决方案,他们就创造出新的系统去解决这个问题,而且都很朴实,踏踏实实的在走自己的每一步,知道自己在做什么,会跳出自己的工作范围,从另一个高度去看问题,去思考问
阅读全文
摘要:1.Ctrl+PgUp 切换aspx页面,设计、拆分、源 Shift+F7 切换HTML和设计视图 F7 切换aspx、c文件 2.Ctrl+Shift+N 新建项目 Ctrl+Shift+O 打开项目 3.Ctrl+Shift+S 保存所有的编辑文件 4.Shift+Alt+Enter 切换IDE
阅读全文
摘要:Product Code:4t46t6vydkvsxekkvf3fjnpzy5wbuhphqzserial Number:601769 password:xs374ca password:xs374ca
阅读全文
摘要:1.中文文件夹名改为英文(用Administrator账户,进入系统,改完之后,注销回到之前的账户) A.进入“C:\用户”目录 把“邓毅”替换为“user” B.regedit HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVers
阅读全文
摘要:1.table 1 <div class="col-xs-6"> 2 <table cellspacing="0" cellpadding="0" id="Table1" style="table-layout:fixed" class="admintable03 table table-conde
阅读全文
摘要:1、声明并且赋值 1 protected bool IsTemp = false;//默认没有关联模块 2 //判断模板与模块是否关联 3 IsTemp = T_COM_UserTempModuleBll.Instance.ExistUTMTemp(temp.ID); 2.前台取值 1 //模板与模
阅读全文
摘要:1、回车提交 1 /*******************回车键提交***********************************/ 2 document.onkeydown = function (e) { 3 var ev = document.all ? window.event :
阅读全文
摘要:1 2 /** 3 * jQuery MD5 hash algorithm function 4 * 5 * <code> 6 * Calculate the md5 hash of a String 7 * String $.md5 ( String str ) 8 * </code> 9 * 1
阅读全文
摘要:加密解密 1 public static string Encrypt(string Text, string sKey) 2 { 3 DESCryptoServiceProvider des = new DESCryptoServiceProvider(); 4 byte[] inputByteA
阅读全文
摘要:1.RSA 1 // RSA, a suite of routines for performing RSA public-key computations in 2 // JavaScript. 3 // 4 // Requires BigInt.js and Barrett.js. 5 // 6
阅读全文
摘要:1.Swiper3.x的全部配置选项、方法、函数(http://www.swiper.com.cn/api/basic/2014/1215/19.html) 2.引入 1 //如果你的页面加载了jQuery.js或者zepto.js,你可以选择使用更轻便的swiper.jquery.min.js。
阅读全文
摘要:1.layer引入 1 <script src="../../Scripts/jquery.min.1.9.1.js" type="text/javascript"></script> 2 <script src="../../Scripts/common.js" type="text/javasc
阅读全文
摘要:看了xingoo大神的博客,把他的示例代码拿了过来,原文链接:http://www.cnblogs.com/xing901022/p/5052780.html 示例代码: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>无限翻页测试</title> 5 <m
阅读全文
摘要:1.js填充数据 1 function SetTempDetailModulValue() { 2 var tr = $("#dataTempDatialTable tbody tr"); 3 var data = []; 4 for(var i=0;i<tr.length;i++) { 5 dat
阅读全文
摘要:1 var safe = { 2 safe_type:<%=safe_type_tab %>, 3 detailList:<%=tempDetailList %>, 4 moduleList:<%=moduleList %>, 5 utmList:<%=utmList %>, 6 params:{t
阅读全文
摘要:1.基础表格 1 <table class="tableTempDetal" border="1" bordercolor="#000000" id="dataTempDatialTable"> 2 <tr style="background-color: #edf1fa;"> 3 <td clas
阅读全文
摘要:1.布局 1 <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %> 2 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:
阅读全文
摘要:1.实体 1 public class zTreeNode 2 { 3 //{ id:2, pId:0, name:"随意勾选 2", checked:true, open:true}, 4 public string id { get; set; } 5 public string pId { g
阅读全文
摘要:1.公共方法 1 #region dataConvert 2 /// <summary> 3 /// 从数据行返回数据实体对象 4 /// </summary> 5 /// <typeparam name="T">数据实体类型</typeparam> 6 /// <param name="row">
阅读全文
摘要:问题:在使用vs2015时,调试无法看到变量的值,解决方案如下: 1.启动调试 2.调试——>窗口——>自动窗口(Ctrl+Alt+V,A) 如下图:
阅读全文
摘要:无废话,直接上: 1 try 2 { 3 XDocument xdoc = new XDocument( 4 new XProcessingInstruction("UserConfigHelp", "xmlns:xsi='http://www.w3.org/2001/XMLSchema-insta
阅读全文

浙公网安备 33010602011771号