asp.net core post

浪淘沙4个月前后端107
<form class="layui-form layui-form-pane" action="" method="post">
<button class="layui-btn layui-bg-red"  type="submit">Excel导出</button>
</form>
  public IActionResult OnPost()
  {      MessageHelper.ShowLocation("搜索了");      return Page();
  }


相关文章

wangeditor编辑器

<!--编辑器--> <link href="/wangeditor/style.css" rel="stylesheet&quo...

asp.net core url编码

 HttpUtility.UrlEncode("https://fdy.eduw.cn/zf/index")...

asp.net core razor 使用ClosedXML.Excel 导出表格

            using var workbook...

asp.net 取得邮政Ems物流数据

asp.net 取得邮政Ems物流数据

一、引用dllBouncyCastle.Crypto.rar二、SM4加密using System; using System.Collections.Generic; usi...

普能html页面post到 cshtml页面,出现400错误解决方法

  [IgnoreAntiforgeryToken]  public class keywordsModel : PageModel  {    &n...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。