- 博客(27)
- 收藏
- 关注
转载 11-Index页面
<html><head> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title></title> <link href="~/Content/BootstrapSouce/css/bootstrap....
2018-11-22 20:35:00
148
转载 11-Comment页面
<html><head> <meta name="viewport" content="width=device-width" /> <title>Comment</title> <script src="~/Script/jquery-1.10.2.min.js"></script> ...
2018-11-22 20:34:00
250
转载 11-Add页面
<html><head> <meta name="viewport" content="width=device-width" /> <title>Add</title> <script src="~/Script/jquery-1.10.2.min.js"></script> &...
2018-11-22 20:33:00
182
转载 11-UploadFile
public class UploadFiles { /// <summary> /// 公用上传文件方法 /// </summary> /// <returns>上传后的文件完整路径</returns> public static string UpLoadFi...
2018-11-22 20:32:00
108
转载 11-控制器UI
public class NewsController : Controller { // GET: News /// <summary> /// 显示集市信息 /// </summary> /// <returns></returns> pub...
2018-11-22 20:31:00
107
转载 11-控制器
using BLL; using MODEL; [RoutePrefix("Comment")] public class CommentController : ApiController { CommentBLL bll = new CommentBLL(); /// <summary> /// 显示评论信...
2018-11-22 20:24:00
108
转载 11-数据访问层
public class NewsDal { DBcontext db = new DBcontext(); /// <summary> /// 查看发布的所有信息 /// </summary> /// <returns></returns> pu...
2018-11-22 20:18:00
90
转载 11-model
枚举public enum TypeEnum { /// <summary> /// 二手 /// </summary> Used=1, /// <summary> /// 求购 /// </summary> Buy=2...
2018-11-22 20:17:00
102
转载 12-存储过程
CREATE DATABASE fuxi12USE fuxi12--车辆信息CREATE TABLE Car( ID INT PRIMARY KEY IDENTITY, --主键 CarName VARCHAR(80), --车名 CarPinPaiID VARCHAR(50), --品牌id CarTypeID VARCHAR(50), ...
2018-11-22 20:01:00
119
转载 12-_LayoutPage1
<html><head> <meta name="viewport" content="width=device-width" /> <title>房车咨询</title></head><body> <div> @RenderBody() </div...
2018-11-22 19:28:00
140
转载 12-Index页面
<html><head> <meta name="viewport" content="width=device-width" /> <title>Index</title> <script src="~/Content/jquery-3.1.1.js"></script> <...
2018-11-22 19:26:00
109
转载 12-CarList页面
<html><head> <meta name="viewport" content="width=device-width" /> <title>CarList</title> <link href="~/Content/bootstrap.css" rel="stylesheet" /> ...
2018-11-22 19:26:00
163
转载 12-addimg
<html><head> <meta name="viewport" content="width=device-width" /> <title>AddImg</title> <script src="~/Content/jquery-3.1.1.js"></script> &l...
2018-11-22 19:25:00
127
转载 12-Add页面
<html><head> <meta name="viewport" content="width=device-width" /> <title>Add</title> <script src="~/Content/jquery-3.1.1.js"></script> <s...
2018-11-22 19:25:00
143
转载 12-控制器
using Yzs.Week04Car.BLL; using Yzs.Week04Car.Entity; using Newtonsoft.Json; using System.IO; public class CarHomeController : Controller { CarBLL bll = new CarBLL(); ...
2018-11-22 19:24:00
162
转载 12-业务逻辑层
using DAL; using Entity; public class CarBLL { CarDAL DAL = new CarDAL(); /// <summary> /// 添加房车信息 /// </summary> /// <param name="car...
2018-11-22 19:21:00
106
转载 12-数据访问层
using Entity; using System.Data.SqlClient; using System.Data; public class CarDAL { /// <summary> /// 添加房车信息 /// </summary> /// <param name...
2018-11-22 19:19:00
73
转载 12-Entity
public class Car { /// <summary> /// 主键 /// </summary> public int ID { get; set; } /// <summary> /// 车名 /// </summary> ...
2018-11-22 19:18:00
87
转载 登录-修改页面
@{ Layout = null;}<!DOCTYPE html><html><head> <meta name="viewport" content="width=device-width" /> <title>Updata</title> <script src="~/Con...
2018-11-22 18:33:00
470
转载 登录-Index页面
@{ Layout = null;}<!DOCTYPE html><html><head> <meta name="viewport" content="width=device-width" /> <title>Index</title> <style> *...
2018-11-22 18:32:00
1312
转载 登录-添加页面
@{ Layout = null;}<!DOCTYPE html><html><head> <meta name="viewport" content="width=device-width" /> <title>Add</title> <script src="~/Conten...
2018-11-22 18:32:00
310
转载 登录-Login页面
@{ Layout = null;}<!DOCTYPE html><html><head> <meta name="viewport" content="width=device-width" /> <title>Login</title> <script src="~/Cont...
2018-11-22 18:31:00
4155
转载 登录-控制器
using Login.BLL; using Login.Model; using System.Web.Mvc; using Login.Mvc.Fatier; public class LoginController : Controller { UserBll bll = new UserBll(); // GET: Log...
2018-11-22 18:30:00
301
转载 登录-控制器验证
using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace Login.Mvc.Fatier{ using System.Web.Mvc; public class LoginFatier:AuthorizeAttribute { ...
2018-11-22 18:29:00
131
转载 登录-dal
/// <summary> /// 注册用户 /// </summary> /// <param name="user"></param> /// <returns></returns> public int AddUser(User user) ...
2018-11-22 18:28:00
137
转载 登录-数据库模型
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Login.Model{ public class User { /// <summary> ...
2018-11-22 18:26:00
112
转载 登录-存储过程
select * from LoginUsergoalter proc p_Add( @UserName nvarchar(50), @UserPassword nvarchar(50))asbegin insert into LoginUser values (@UserName,@UserPassword,0) select @@IDENTITYendgoal...
2018-11-22 18:24:00
266
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人