09 2020 档案
摘要:1.Nuget 下载 Newtonsoft.Json 2.需要解析的字符串数据 message { "code": 200, "msg": "SUCCESS", "data": { "id": "12345678", "name": "张三", "sex": "男", "result": { "ac
阅读全文
摘要:注:闲来无事 来篇博客 1. 三张表 class Teacher { public int ID { set; get; } public int SchoolNum { set; get; } public string TeacherName { set; get; } public strin
阅读全文
摘要:用处:当需要将两张表根据某个属性进行合并 1.两张表结构 class Person { public int CityID { set; get; } public string pName { set; get; } } class City { public int CityNum{ set;
阅读全文
摘要:本篇在前端解决数据导出问题 1.拉入 jquery 2.拉入导出excl工具 jquery.table2excel.js 3.在要导出的表格添加id 不要的tr添加class 4.初始化 $("#btn_ExclOut").on("click", function (evt) { $("#table
阅读全文
摘要:1两个JS文件 jquery-1.8.0.min.js ajaxfileupload.js 2.前端页面 <input type="file" name="inp_Photo" id="inp_Photo" /> 3.JS $.ajaxFileUpload({ url: '/Home/UploadU
阅读全文