会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
励志学好C#
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2020年6月30日
MVC收藏的实现
摘要: 添加界面 @{ ViewBag.Title = "Detail";} <a href="/Home/Index">首页</a> > <a href="/Product/Index">商品列表</a>><h2>商品id是:@ViewBag.Id</h2><input type="hidden" id=
阅读全文
posted @ 2020-06-30 20:59 G蠢蠢
阅读(240)
评论(0)
推荐(0)
2020年6月27日
一个显示界面
摘要: <script> $(function () { show(); }) function show() { $.ajax({ url: 'http://localhost:53134/api/Student/Show', type: 'Get', dataType: 'json', success:
阅读全文
posted @ 2020-06-27 08:28 G蠢蠢
阅读(111)
评论(0)
推荐(0)
R-MS
摘要: //1.获取秒杀商品信息的接口 public ProductInfo GetProduct(int productId) { ProductInfo productInfo = new ProductInfo(); productInfo.PId = 1; productInfo.PName = "
阅读全文
posted @ 2020-06-27 08:12 G蠢蠢
阅读(119)
评论(0)
推荐(0)
2020年6月26日
MS-API。AJAS
摘要: //1.获取秒杀商品详情接口 [Route("api/GetProduct")] [HttpGet] public ProductInfo GetProduct(int productId = 1) { ProductInfo info = new ProductInfo(); info.PId =
阅读全文
posted @ 2020-06-26 20:49 G蠢蠢
阅读(204)
评论(0)
推荐(0)
MS-MVCAJAS 秒杀的添加功能吧
摘要: 控制器 public ActionResult Index() { return View(); } public ActionResult GetKill() { return View(); } public ActionResult DingDan() { return View(); } @
阅读全文
posted @ 2020-06-26 19:55 G蠢蠢
阅读(111)
评论(0)
推荐(0)
真-API控制器AJAS
摘要: GoodBll bll = new GoodBll(); /// <summary> /// 添加 /// </summary> /// <param name="model"></param> /// <returns></returns> [HttpPost] public int Add(st
阅读全文
posted @ 2020-06-26 19:51 G蠢蠢
阅读(106)
评论(0)
推荐(0)
真-API.DALBLL.AJAS/// 添加/// 绑定分类/// 显示,查询/// 删除//删除/// 反填/// 修改
摘要: BLL GoodDal dal = new GoodDal(); /// <summary> /// 添加 /// </summary> /// <param name="model"></param> /// <returns></returns> public int Add(Good mode
阅读全文
posted @ 2020-06-26 19:49 G蠢蠢
阅读(110)
评论(0)
推荐(0)
真-MVC控制器AJAS/// 添加/// 显示,查询,删除/// 修改
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc; namespace WeekMvc.Controllers{ public class Goo
阅读全文
posted @ 2020-06-26 19:42 G蠢蠢
阅读(117)
评论(0)
推荐(0)
真-MVC视图AJAS-删除,显示,//修改//单删//全选//类别下拉反填//添加
摘要: 删除,显示 @{ ViewBag.Title = "Show";} <h2>Show</h2><script src="~/Content/BandSel.js"></script> <table> <tr> <td><input id="txtName" type="text" class="fo
阅读全文
posted @ 2020-06-26 19:34 G蠢蠢
阅读(206)
评论(0)
推荐(0)
2020年6月17日
加强版上传图片功能啊
摘要: 一般处理程序 filename using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace EFDemo{ /// <summary> /// FileUpload 的摘要说明
阅读全文
posted @ 2020-06-17 08:21 G蠢蠢
阅读(143)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告