摘要: using System;using JWT;using JWT.Algorithms;using System.Collections;using System.Collections.Generic;using JWT.Serializers;namespace JwtTest{ class P 阅读全文
posted @ 2020-05-20 21:23 .net&new 阅读(164) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace AAAAAA { class AAA { public static void Main() { 阅读全文
posted @ 2020-04-22 20:46 .net&new 阅读(348) 评论(0) 推荐(0) 编辑
摘要: Hashtable ht1 = new Hashtable(); //创建一个Hashtable实例 ht1.Add("张三", "100"); //添加keyvalue键值对 ht1.Add("李四", "100"); ht1.Add("王五", "100"); ht1.Add("赵六", "20 阅读全文
posted @ 2020-04-22 20:37 .net&new 阅读(172) 评论(0) 推荐(0) 编辑
摘要: C# 委托 (一)—— 委托、 泛型委托与Lambda表达式原创wnvalentin 最后发布于2018-08-19 20:46:47 阅读数 9224 收藏展开目录 1 委托的含义 2 委托声明、实例化和调用 2.1 委托的声明 2.2 委托的实例化 2.3 委托实例的调用 3 泛型委托 3.1 阅读全文
posted @ 2020-04-16 22:23 .net&new 阅读(425) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using System.IO;using System.Text;namespace Demo 阅读全文
posted @ 2020-04-15 22:17 .net&new 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 一、定义 MVC中ActionResult是Action的返回结果。ActionResult 有多个派生类,每个子类功能均不同,并不是所有的子类都需要返回视图View,有些直接返回流,有些返回字符串等。ActionResult是一个抽象类,它定义了唯一的ExecuteResult方法,参数为一个Co 阅读全文
posted @ 2020-04-15 21:33 .net&new 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 可以将文本框设置为只读, 添加属性readonly="readonly",这样可以阻止输入时就不会跳出键盘,同时可以给文本框添加一个点击事件οnclick="openClendar()",弹出选项(如:APPCAN 日历插件),选中需要的内容之后可以将值直接赋给文本框呈现:document.getE 阅读全文
posted @ 2020-04-15 13:30 .net&new 阅读(1421) 评论(0) 推荐(0) 编辑
摘要: 1、实体类与XML相互转换 将实体类转换成XML需要使用XmlSerializer类的Serialize方法,将实体类序列化。 把XML转换成相应的实体类,需要使用到XmlSerializer类的Deserialize方法,将XML进行反序列化。 创建XML序列化公共处理类(XmlSerialize 阅读全文
posted @ 2020-04-14 22:17 .net&new 阅读(772) 评论(0) 推荐(0) 编辑
摘要: #region 判断excel表内是否有重复的体检卡卡密 //判断excel表内是否有重复的体检卡卡密-2020/3/12-update string tagCode = null; if (IsRepeatCard(strAllDeviceCode.Trim().Trim(',').Split(' 阅读全文
posted @ 2020-04-14 22:08 .net&new 阅读(645) 评论(0) 推荐(0) 编辑
摘要: //add-wgh-2020/3/25 function addClickHandler(content,marke){ marke.addEventListener("click",function(e){ openInfo(content,e)} ); } var opts = { width 阅读全文
posted @ 2020-04-14 22:07 .net&new 阅读(296) 评论(0) 推荐(0) 编辑