摘要:
protected void exportAward(DataSet dsResult) { if (dsResult != null) { string fileName = System.Web.HttpUtility.UrlEncode("任务列表", System.Text.Encoding.UTF8) + ".xls... 阅读全文
摘要:
记录json转换的几种方式: Newtonsoft.Json.dll 插件 在项目中引用dll文件。 json 序列化: string Jsonreslut= JsonConvert.SerializeObject(Entity); 如: json 反序列化: string str=“jsonstr 阅读全文
摘要:
//excel转换 Workbook workbook = new Workbook(HttpContext.Current.Server.MapPath(docpath + "/" + newFileName + sExtension));//找到转换文件 string newFilePath = 阅读全文