图片显示加时间戳

在项目中显示图片需要加时间戳,

上传图片修改图片后,如果图片路径名字未有改变,服务器会认为是同一个请求,会用缓存数据代替请求数据,

这个时候需要在图片显示路径后加时间戳

//问号(?)加系统提前时间
M_Base64Pic.Src = ImageUrl + "Community/" + picPath+"?"+System.DateTime.Now;
原文地址:https://www.cnblogs.com/PLifeCopyDown/p/2772652.html