摘要: /// <summary> /// 分页存储过程的调用 /// </summary> /// <param name="pageCount"></param> /// <param name="name"></param> /// <param name="pageIndex"></param> / 阅读全文
posted @ 2020-06-09 20:42 G蠢蠢 阅读(169) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Net.Http;using System.Web.Http;using Model;using DAL; na 阅读全文
posted @ 2020-06-09 15:23 G蠢蠢 阅读(167) 评论(0) 推荐(0) 编辑
摘要: dal(添加,显示) using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Model; namespace DAL{ 阅读全文
posted @ 2020-06-09 15:21 G蠢蠢 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 可以参照的model层示例 ////温馨提示记住一定要让需要的去引用模型层 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; 阅读全文
posted @ 2020-06-09 15:08 G蠢蠢 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 就是正规的按商品属性来添加商品 @{ ViewBag.Title = "Add";} <h2>添加优惠券</h2> <table class="table" > <tr> <td class="text-right">优惠券名称</td> <td> <input type="text" id="mc 阅读全文
posted @ 2020-06-09 14:55 G蠢蠢 阅读(158) 评论(0) 推荐(0) 编辑
摘要: -- 分页存储过程ALTER proc [dbo].[p_pageShow]( @pageSize int, --每页大小 @currentPage int out, --当前页 @houseName nvarchar(50), --房产名称 @totalCount int out, --总记录数 阅读全文
posted @ 2020-06-09 14:52 G蠢蠢 阅读(137) 评论(1) 推荐(0) 编辑
摘要: (表格的形式来显示界面) //通过前台控制器跳转生成的 @{ ViewBag.Title = "Show";} <h2>优惠券领取记录</h2> <table class="table"> <tr> <td>优惠券类型:</td> <td> <input type="radio" name="yhf 阅读全文
posted @ 2020-06-09 14:39 G蠢蠢 阅读(98) 评论(0) 推荐(0) 编辑