2018年11月23日
摘要:
1 原生JS 购物车及购物页面的cookie使用 2 ////////////////////////////////////购物页面 3 4 5 6 7 8 购物页面 9 18 84 85 86 87 88 89 短袖衬衣 90 98.88 91 92 添加到购物车 93 94 95 96 97...
阅读全文
posted @ 2018-11-23 12:56
浦东区分晏
阅读(179)
推荐(0)
2018年11月22日
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u
阅读全文
posted @ 2018-11-22 19:25
浦东区分晏
阅读(129)
推荐(0)
摘要:
首先创建一个分页的类:int 当前页数 int 总页数 object 页面数据 在api界面创建一个常量,显示几页,public const int PAGECOUNT=3; 用一个list接收所有查询的数据。list list=bll.get(); 实例化一个分页的类,page pa=new page(); 分页的当前页=方法的参数代表当前页; 分页的总页数=list.count/PAGECO...
阅读全文
posted @ 2018-11-22 19:05
浦东区分晏
阅读(97)
推荐(0)
摘要:
当前时间: qiandao方法: public int qiandao(string time) { //获取规定上班的时间 string times = ConfigurationManager.AppSettings["up"].ToString(); if (DateTime.Parse(t...
阅读全文
posted @ 2018-11-22 18:45
浦东区分晏
阅读(154)
推荐(0)
摘要:
url:"/cxl/zhuce?name=" + $("#zhanghao").val() + "", success: location.href = "/cxl/huiyuan"; 控制器: ///不要视图 public int zhuce(string name) { Session["name"] = name; retu...
阅读全文
posted @ 2018-11-22 18:38
浦东区分晏
阅读(125)
推荐(0)
摘要:
创建一个借口类IDAL:不需要方法体的方法。将class装换成interfaceMVC:web.config <add key="CDAL" value="DAL"/>API的web.config <add key="CDAL" value="DAL"/>添加到<appSettings> 创建一个接
阅读全文
posted @ 2018-11-22 18:22
浦东区分晏
阅读(299)
推荐(0)
2018年7月29日
摘要:
新建类:当前页,总页,对象 本页需要实例化:当前页=1,总页数=0,条数=3 function first() { dangqian = 1; cha(); } function zuihou() { dangqian = Pagesum; cha(); } //下一页 function NextP
阅读全文
posted @ 2018-07-29 20:51
浦东区分晏
阅读(122)
推荐(0)
posted @ 2018-07-29 20:43
浦东区分晏
阅读(139)
推荐(0)
2018年7月26日
摘要:
<input id="fil" type="file" name="file" /> <input id="Hidden1" type="hidden" name="lujign" /> <img src="" style="width:200px;height:200px;" id="ima" /
阅读全文
posted @ 2018-07-26 15:04
浦东区分晏
阅读(148)
推荐(0)
posted @ 2018-07-26 14:30
浦东区分晏
阅读(11)
推荐(0)