public ActionResult GetFile(string id) { var path = _db.MailAtchs.Where(p => p.MailID == new Guid(id)).Select(p => p.Path); //获取文件名字 ArrayList n = new ArrayList(); foreach (var li in path) { var index = li.LastIndexOf('/'); , li.Length - index - );…
SqlParameter[] param = { new SqlParameter("@shopId",shopId), new SqlParameter("@newShopStr",newShopStr), new SqlParameter("@userId",userId), ), ) }; 注意:output参数需要定义大小,否则只能获取到一个字符…