04 2019 档案
摘要:/// /// 返回枚举中的desciption /// /// 枚举 /// public static string GetDescription(this Enum value) { return value.GetType() ....
阅读全文
摘要://调用操作系统API [System.Runtime.InteropServices.DllImport("wininet")] private extern static bool InternetGetConnectedState(out int connectionDescription, int reservedValue); /// /// 判断...
阅读全文
摘要:一. 首先打开【运行】程序;二. 运行中输入‘CMD’;三. 然后在上面输入‘compmgmt.msc’,就可以打开“计算机管理”命令了。
阅读全文
摘要:在客户端配置文件<configuration>节点下,添加: <connectionStrings> <add name="localdb" connectionString="Data Source=config/local.db;Version=3;UseUTF16Encoding=True;"
阅读全文
摘要:http://www.catalog.update.microsoft.com/Search.aspx?q=windows%2010%20prohttp://www.catalog.update.microsoft.com/Search.aspx?q=windows%2010%20pro
阅读全文
摘要:企业版:BF8Y8-GN2QH-T84XB-QVY3B-RC4DF 专业版:NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y
阅读全文
摘要: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...
阅读全文
摘要:JSON.parse()【从一个字符串中解析出json对象】 例子: //定义一个字符串 var data='{"name":"goatling"}' //解析对象 JSON.parse(data) 结果是: name:"goatling" JSON.stringify()【从一个对象中解析出字符串】 var data={name:'goatling'} JSON.st...
阅读全文
摘要:$.ajax({ url: 'http://192.168.1.85:8080/api/System/Login', type: 'post', contentType: "application/json; charset=utf-8", dataType: 'jso...
阅读全文
摘要:$.ajax( { url: apiUrl + '/api/Code/GetCodeProductInfo', type: 'GET', //Header头部添加Token参数 beforeSend: fu...
阅读全文