- 博客(9)
- 收藏
- 关注
原创 反填
<!DOCTYPE html><html><head> <meta name="viewport" content="width=device-width" /> <title>PUT</title> <script src="~/Scripts/jquery-3.4.1.js"></script></head><body> <div>...
2020-07-09 21:06:17
353
原创 文件导出
public class InfoController : Controller { HttpClientHelper helper = new HttpClientHelper("http://localhost:53607/api/Info/ShowS"); public FileResult daochu() { var data = helper.Get("dao"); var list = Js...
2020-07-09 21:04:37
132
原创 EF增删改查
RedisHelper redis = new RedisHelper(); DAL<XM> user = new DAL<XM>(); [HttpGet] public List<XM> Show(int PageIndex, int PageSize) { var list = user.Show(); var LinQ = from a in list...
2020-07-09 21:03:20
108
原创 验证码
1.在MVC框架中,则需添加一个控制器,代码如下1///<summary>2///验证码3///</summary>4publicContentResultCheckCode()5{6ContentResultcr=newContentResult();7cr.ContentType="image/JP...
2020-06-17 08:25:26
152
原创 dapper修改
<!DOCTYPE html><html><head> <meta charset="utf-8" /> <title></title> <link href="Content/bootstrap.css" rel="stylesheet" /> <script src="Scripts/jquery-3.3.1.min.js"></script> <...
2020-06-09 20:26:37
216
原创 dapper分页HTML
<!DOCTYPE html><html><head> <meta charset="utf-8" /> <title></title> <link href="Content/bootstrap.css" rel="stylesheet" /> <script src="Scripts/jquery-3.3.1.min.js"></script> <...
2020-06-09 20:18:53
171
原创 dapper分页API
IDbConnection con = Dal.AbsConnection.GetDbConnection(); [HttpGet] [Route("api/Page")] public IHttpActionResult Paging(int PageIndex=1) { var para = new DynamicParameters(); para.Add("@TableName", "Da...
2020-06-09 20:16:02
377
原创 AJAX+API的简单显示
<!DOCTYPE html><html><head> <meta charset="utf-8" /> <title></title> <script src="Scripts/jquery-3.4.1.min.js"></script> <script src="Scripts/jquery.validate.min.js"></script>&l...
2020-06-09 16:31:47
227
原创 HTML+API的简单添加
<!DOCTYPE html><html><head> <meta charset="utf-8" /> <title></title> <script src="Scripts/jquery-3.4.1.min.js"></script> <script src="Scripts/jquery.validate.min.js"></script>&l...
2020-06-09 16:08:29
1105
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人