09 2020 档案

摘要:1.普通Controller var Request = HttpContext.Request; 或 var Request2 = Request; 2.Filter过滤器 var Request = HttpContext.Current.Request; 阅读全文
posted @ 2020-09-29 10:36 姜佳泉
摘要:public void getjsonData (){ var request = System.Web.HttpContext.Current.Request; byte[] requestData = new byte[request.InputStream.Length]; request.I 阅读全文
posted @ 2020-09-24 16:53 姜佳泉
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>Hello React!</title> <script src="https://cdn.bootcss.com/react/16.2.0/umd/react.product 阅读全文
posted @ 2020-09-22 14:52 姜佳泉
摘要:前端 <script> //**初始化InitFileInput控件函数** function myInitFileInput(ctrlName, uploadUrl, guid) {//根据guid预览已上传的图片数据 var initialPreviewArry = []; var initia 阅读全文
posted @ 2020-09-18 09:26 姜佳泉
摘要:DataSet ds = new DataSet() DataSet dt= ds.Tables[0] 或 var dt = DbHelperOra.GetTable($"select * from B_CERTIFICATE_SUB where C_GUID={C_IDList[i]}"); Da 阅读全文
posted @ 2020-09-17 09:04 姜佳泉
摘要:1 作用: 将table转化list,,,且更改list的泛型 var dataRows = DbHelperOra.GetTable(sql).AsEnumerable().ToList(); List<dynamic> rows = dataRows.ConvertAll<dynamic>(x 阅读全文
posted @ 2020-09-01 14:11 姜佳泉