/// <summary> /// formprintquery界面 新增 编辑 /// </summary> /// <returns></returns> [HttpPost] public int InsertOrUpdateFormPrintFile() { HttpContext context = HttpContext.Current; int retvalue = 0; if (context.Request.Form.Count > 0) { string postdata = context.Request.Form[0].AsEnumerable().ToString(); retvalue = PublicDA.InsertOrUpdateFormPrintFile(postdata); } return retvalue; }
DataTable maindt = JSONHelphers.JsonToDatableWithJsonNet(postdata);
filename = maindt.Rows[0]["filename"].ToString();