04 2019 档案

摘要:/// /// 返回枚举中的desciption /// /// 枚举 /// public static string GetDescription(this Enum value) { return value.GetType() .... 阅读全文
posted @ 2019-04-26 10:06 韩梦芫 阅读(355) 评论(0) 推荐(0) 编辑
摘要://调用操作系统API [System.Runtime.InteropServices.DllImport("wininet")] private extern static bool InternetGetConnectedState(out int connectionDescription, int reservedValue); /// /// 判断... 阅读全文
posted @ 2019-04-19 11:16 韩梦芫 阅读(1415) 评论(0) 推荐(0) 编辑
摘要:一. 首先打开【运行】程序;二. 运行中输入‘CMD’;三. 然后在上面输入‘compmgmt.msc’,就可以打开“计算机管理”命令了。 阅读全文
posted @ 2019-04-19 10:40 韩梦芫 阅读(691) 评论(0) 推荐(0) 编辑
摘要:在客户端配置文件<configuration>节点下,添加: <connectionStrings> <add name="localdb" connectionString="Data Source=config/local.db;Version=3;UseUTF16Encoding=True;" 阅读全文
posted @ 2019-04-13 18:33 韩梦芫 阅读(858) 评论(0) 推荐(0) 编辑
摘要:http://www.catalog.update.microsoft.com/Search.aspx?q=windows%2010%20prohttp://www.catalog.update.microsoft.com/Search.aspx?q=windows%2010%20pro 阅读全文
posted @ 2019-04-13 09:52 韩梦芫 阅读(861) 评论(0) 推荐(0) 编辑
摘要:企业版:BF8Y8-GN2QH-T84XB-QVY3B-RC4DF 专业版:NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y 阅读全文
posted @ 2019-04-12 00:00 韩梦芫 阅读(21283) 评论(0) 推荐(5) 编辑
摘要:using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; u... 阅读全文
posted @ 2019-04-04 15:06 韩梦芫 阅读(2594) 评论(0) 推荐(0) 编辑
摘要:JSON.parse()【从一个字符串中解析出json对象】 例子: //定义一个字符串 var data='{"name":"goatling"}' //解析对象​ ​JSON.parse(data) 结果是: ​name:"goatling" JSON.stringify()【从一个对象中解析出字符串】 var data={name:'goatling'} JSON.st... 阅读全文
posted @ 2019-04-04 10:24 韩梦芫 阅读(218) 评论(0) 推荐(0) 编辑
摘要:$.ajax({ url: 'http://192.168.1.85:8080/api/System/Login', type: 'post', contentType: "application/json; charset=utf-8", dataType: 'jso... 阅读全文
posted @ 2019-04-02 20:26 韩梦芫 阅读(1373) 评论(0) 推荐(0) 编辑
摘要:$.ajax( { url: apiUrl + '/api/Code/GetCodeProductInfo', type: 'GET', //Header头部添加Token参数 beforeSend: fu... 阅读全文
posted @ 2019-04-02 19:34 韩梦芫 阅读(3043) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示