随笔分类 -  .Net

摘要:string idcard = this.labIdcard.Text.ToString(); string url = ConfigurationManager.AppSettings["apiIp"].ToString(); string action = "/api/action?" + id 阅读全文
posted @ 2021-04-26 15:21 栖白 阅读(197) 评论(0) 推荐(0)
摘要:1 public JsonResult AddDisk() 2 { 3 var data = 0; 4 string uid = Request.Cookies["UserID"].Value; 5 Login_Users userModel = userBll.getModel(Convert.T 阅读全文
posted @ 2021-01-22 14:17 栖白 阅读(77) 评论(0) 推荐(0)
摘要:WinService服务教程: https://www.cnblogs.com/cncc/p/7170951.html Scoket代码: 1 //服务地址 2 public static string ipAddress = ConfigurationManager.AppSettings["ip 阅读全文
posted @ 2021-01-22 13:58 栖白 阅读(132) 评论(0) 推荐(0)
摘要:1 private AccessToken GetAccessToken(string strUrl) { 2 //令牌类 可换成请求的实体类 3 AccessToken token = new AccessToken(); 4 //try { 5 string szdw = System.Web. 阅读全文
posted @ 2021-01-22 11:17 栖白 阅读(359) 评论(0) 推荐(0)
摘要:NPOI导入 前台: 1 @using (Html.BeginForm("ImportExcel", "Admin", FormMethod.Post, new { enctype = "multipart/form-data" })) 2 { 3 <input type="submit" valu 阅读全文
posted @ 2020-07-01 15:45 栖白 阅读(62) 评论(0) 推荐(0)