摘要: //第一种方式 <iframe scrolling="no" src="https://tianqiapi.com/api.php?style=tt&skin=pitaya" frameborder="0" width="590" height="98" allowtransparency="tru 阅读全文
posted @ 2020-07-20 21:01 孔捷 阅读(3961) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <meta charset="utf-8" /> <title>layDate快速使用</title> <link href="wwwroot/layuiadmin/layui/css/layui.css" rel="stylesheet" / 阅读全文
posted @ 2020-07-20 16:57 孔捷 阅读(1510) 评论(0) 推荐(0) 编辑
摘要: //取值 //存值 //redis缓存 存值 [Route("api/cunzhi")] [HttpGet] public IHttpActionResult a(string pname, string address) { List<tb_ProcInfo> projects = new Lis 阅读全文
posted @ 2020-07-09 21:41 孔捷 阅读(1680) 评论(0) 推荐(0) 编辑
摘要: //计时器思路 1.默认先把<label>文本隐藏 2.要用到计时器时把按钮隐藏并且显示<label>文本 //计时器方法 setInterval是系统的一个方法 setInterval("JiTime()",1000); //计时器调用方法 function JiTime() { if (i > 阅读全文
posted @ 2020-07-09 19:41 孔捷 阅读(167) 评论(0) 推荐(0) 编辑
摘要: using ServiceStack.Redis;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace 练习r 阅读全文
posted @ 2020-06-30 21:03 孔捷 阅读(805) 评论(0) 推荐(0) 编辑
摘要: //HTML页面 <script> var i; function anniu() { var reg = new RegExp(/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a - zA - Z0 - 9] +[_ |\_ |\.] ?)*[a-zA-Z0-9 阅读全文
posted @ 2020-06-24 11:16 孔捷 阅读(1436) 评论(0) 推荐(0) 编辑
摘要: //一般处理程序里边的 //生成验证码字符串 var strCode = "0123456789PLMKOIJNBHUYGVCFTRDXZSEWAQmlpokijnbhuygvcftrdxzsewaq"; var Vcode = ""; //随机数 Random random = new Rando 阅读全文
posted @ 2020-06-17 08:26 孔捷 阅读(864) 评论(0) 推荐(0) 编辑
摘要: public List<T> Query<T>(string where) where T : class, new() { DataTable tb = new DataTable(); List<T> list = new List<T>(); string sql = GetQuery(); 阅读全文
posted @ 2020-06-15 20:59 孔捷 阅读(171) 评论(0) 推荐(0) 编辑
摘要: <head> <meta charset="utf-8" /> <link href="content/pagination.css" rel="stylesheet" /> <script src="Scripts/jquery-3.3.1.min.js"></script> <script sr 阅读全文
posted @ 2020-06-10 10:09 孔捷 阅读(133) 评论(0) 推荐(0) 编辑
摘要: public string sqlstr = ConfigurationManager.ConnectionStrings["LIANJIE"].ConnectionString; DBhelper db = new DBhelper(); //存储过程显示 public DataTable Dat 阅读全文
posted @ 2020-06-10 09:58 孔捷 阅读(142) 评论(0) 推荐(0) 编辑