随笔分类 -  javascript

摘要:采用javascript访问服务器上的文件,文件存在则打开文件,不存在返回不存在 控制器: [HttpPost]public ActionResult CheckFileExists(string aFile){ // 检查文件是否存在 string filePath = Server.MapPat 阅读全文
posted @ 2024-03-26 12:23 Biyuanguang 阅读(7) 评论(0) 推荐(0) 编辑
摘要:<td>@Html.ActionLink("编辑", "Edit", new { id = 1 }) <text> |</text> @Html.ActionLink("删除", "Delete", new { id = 2 })<text> |</text><a href="javascript: 阅读全文
posted @ 2023-02-06 11:45 Biyuanguang 阅读(32) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示