06 2020 档案

摘要://返回顶部 function pageScroll() { //把内容滚动指定的像素数(第一个参数是向右滚动的像素数,第二个参数是向下滚动的像素数) window.scrollBy(0, -100); //延时递归调用,模拟滚动向上效果 scrolldelay = setTimeout('page 阅读全文
posted @ 2020-06-29 14:30 卧虎 阅读(522) 评论(0) 推荐(0)
摘要:private MailMessage mailMessage; private SmtpClient smtpClient; private string password;//发件人密码 /// <summary> /// 带参数的构造函数,初始化发送邮件的条件 /// </summary> / 阅读全文
posted @ 2020-06-27 19:28 卧虎 阅读(201) 评论(0) 推荐(0)
摘要://获取cookie cname代表你的key比如存储的code就使用code获取值 function GetCookie(cname) { var name = cname + "="; var c = document.cookie.split(";"); for (var i = 0; i < 阅读全文
posted @ 2020-06-17 08:11 卧虎 阅读(1022) 评论(0) 推荐(0)
摘要:1 // 这是用的API 2 //分页查询 3 [Route("api/page")] 4 [HttpGet] 5 public PageModel GetPage(int pagesize = 3, int pageindex = 1, string coupontype = "", string 阅读全文
posted @ 2020-06-09 14:36 卧虎 阅读(236) 评论(0) 推荐(0)
摘要:set nocount on --关闭受影响行数 阅读全文
posted @ 2020-06-09 14:27 卧虎 阅读(903) 评论(0) 推荐(1)
摘要:if(exists (select * from sys.objects where name='proc_Paging')) drop proc proc_Paginggocreate proc proc_Paging( @CountryCode nvarchar(20),--国家编号 @Page 阅读全文
posted @ 2020-06-09 13:46 卧虎 阅读(174) 评论(0) 推荐(1)
摘要:var id = window.location.search.split("=")[1]; 阅读全文
posted @ 2020-06-09 11:23 卧虎 阅读(120) 评论(0) 推荐(0)