摘要: 解决 打开项目文文件夹以.csproj结尾的文件),找到WebProjectProperties节点然后,将图中框选的三项节点内容全部清空 删除.vs 重新启动即可 阅读全文
posted @ 2020-07-08 11:13 netlock 阅读(263) 评论(0) 推荐(0)
摘要: 将s去掉就行 阅读全文
posted @ 2020-07-08 11:05 netlock 阅读(3088) 评论(0) 推荐(1)
摘要: 传递参数: window.location='editCourse.html?dataId='+dataId+''; 获取url中的参数(封装的方法): function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^& 阅读全文
posted @ 2020-07-06 17:27 netlock 阅读(6272) 评论(0) 推荐(3)
摘要: <script type="text/javascript" language=JavaScript charset="UTF-8"> document.onkeydown=function(event){ var e = event || window.event || arguments.cal 阅读全文
posted @ 2020-07-06 14:38 netlock 阅读(1805) 评论(0) 推荐(1)
摘要: 原文 https://www.cnblogs.com/essenroc/p/8630730.html // 随着版本更迭,新版本可能无法完全适用,请参考仓库内的示例。 这篇文章将介绍ASP.NET Core中使用 开源项目 Payment(https://github.com/Essensoft/P 阅读全文
posted @ 2020-07-05 11:30 netlock 阅读(957) 评论(0) 推荐(0)
摘要: 1 Entities data=new Entities(); var list = from p in data.Record where p.CreateTime >= d && p.CreateTime < DateTime.Today select new { ID = p.ID, Name 阅读全文
posted @ 2020-07-05 11:23 netlock 阅读(569) 评论(0) 推荐(0)
摘要: tatic void Main(string[] args) { //先反序列化看看 string json = "{\"name\": true,\"age\": \"success\",\"hobby\": [{\"obj1\": \"6\",\"obj2\": \"7\",\"obj3\": 阅读全文
posted @ 2020-07-05 10:52 netlock 阅读(1553) 评论(0) 推荐(0)
摘要: public static string StortJson(string json) { var dic = JsonConvert.DeserializeObject<SortedDictionary<string, object>>(json); SortedDictionary<string 阅读全文
posted @ 2020-07-05 10:50 netlock 阅读(728) 评论(0) 推荐(0)
摘要: 前台页面提交文件 <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>文件操作</title> </head> <body> <form id="upFileForm"> 阅读全文
posted @ 2020-07-05 10:48 netlock 阅读(398) 评论(0) 推荐(0)
摘要: 有几个0 string t = "0001203"; int tLen = t.Length - t.TrimStart('0').Length; charAt方法 using System; namespace Company{ public class TestMain{ static void 阅读全文
posted @ 2020-07-05 10:45 netlock 阅读(660) 评论(0) 推荐(0)