摘要: <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title></title> <link href="~/Content/BootstrapSouce/css/bootstra 阅读全文
posted @ 2018-11-22 20:35 萌新赖 阅读(314) 评论(0) 推荐(0)
摘要: <html><head> <meta name="viewport" content="width=device-width" /> <title>Comment</title> <script src="~/Script/jquery-1.10.2.min.js"></script> </head 阅读全文
posted @ 2018-11-22 20:34 萌新赖 阅读(242) 评论(0) 推荐(0)
摘要: <html><head> <meta name="viewport" content="width=device-width" /> <title>Add</title> <script src="~/Script/jquery-1.10.2.min.js"></script> <script sr 阅读全文
posted @ 2018-11-22 20:33 萌新赖 阅读(148) 评论(0) 推荐(0)
摘要: public class UploadFiles { /// <summary> /// 公用上传文件方法 /// </summary> /// <returns>上传后的文件完整路径</returns> public static string UpLoadFile(HttpPostedFileB 阅读全文
posted @ 2018-11-22 20:32 萌新赖 阅读(278) 评论(0) 推荐(0)
摘要: public class NewsController : Controller { // GET: News /// <summary> /// 显示集市信息 /// </summary> /// <returns></returns> public ActionResult Index() { 阅读全文
posted @ 2018-11-22 20:31 萌新赖 阅读(171) 评论(0) 推荐(0)
摘要: using BLL; using MODEL; [RoutePrefix("Comment")] public class CommentController : ApiController { CommentBLL bll = new CommentBLL(); /// <summary> /// 阅读全文
posted @ 2018-11-22 20:24 萌新赖 阅读(130) 评论(0) 推荐(0)
摘要: public class NewsDal { DBcontext db = new DBcontext(); /// <summary> /// 查看发布的所有信息 /// </summary> /// <returns></returns> public List<News> GetNews() 阅读全文
posted @ 2018-11-22 20:18 萌新赖 阅读(123) 评论(0) 推荐(0)
摘要: 枚举 public enum TypeEnum { /// <summary> /// 二手 /// </summary> Used=1, /// <summary> /// 求购 /// </summary> Buy=2, /// <summary> /// 组队 /// </summary> T 阅读全文
posted @ 2018-11-22 20:17 萌新赖 阅读(96) 评论(0) 推荐(0)
摘要: CREATE DATABASE fuxi12USE fuxi12--车辆信息CREATE TABLE Car( ID INT PRIMARY KEY IDENTITY, --主键 CarName VARCHAR(80), --车名 CarPinPaiID VARCHAR(50), --品牌id Ca 阅读全文
posted @ 2018-11-22 20:01 萌新赖 阅读(131) 评论(0) 推荐(0)
摘要: <html><head> <meta name="viewport" content="width=device-width" /> <title>房车咨询</title></head><body> <div> @RenderBody() </div></body></html> 阅读全文
posted @ 2018-11-22 19:28 萌新赖 阅读(94) 评论(0) 推荐(0)
摘要: <html><head> <meta name="viewport" content="width=device-width" /> <title>CarList</title> <link href="~/Content/bootstrap.css" rel="stylesheet" /> <sc 阅读全文
posted @ 2018-11-22 19:26 萌新赖 阅读(239) 评论(0) 推荐(0)
摘要: <html><head> <meta name="viewport" content="width=device-width" /> <title>Index</title> <script src="~/Content/jquery-3.1.1.js"></script> <style> li { 阅读全文
posted @ 2018-11-22 19:26 萌新赖 阅读(146) 评论(0) 推荐(0)
摘要: <html><head> <meta name="viewport" content="width=device-width" /> <title>Add</title> <script src="~/Content/jquery-3.1.1.js"></script> <script> $(fun 阅读全文
posted @ 2018-11-22 19:25 萌新赖 阅读(238) 评论(0) 推荐(0)
摘要: <html><head> <meta name="viewport" content="width=device-width" /> <title>AddImg</title> <script src="~/Content/jquery-3.1.1.js"></script> <link href= 阅读全文
posted @ 2018-11-22 19:25 萌新赖 阅读(144) 评论(0) 推荐(0)
摘要: using Yzs.Week04Car.BLL; using Yzs.Week04Car.Entity; using Newtonsoft.Json; using System.IO; public class CarHomeController : Controller { CarBLL bll 阅读全文
posted @ 2018-11-22 19:24 萌新赖 阅读(158) 评论(0) 推荐(0)
摘要: using DAL; using Entity; public class CarBLL { CarDAL DAL = new CarDAL(); /// <summary> /// 添加房车信息 /// </summary> /// <param name="car"></param> /// < 阅读全文
posted @ 2018-11-22 19:21 萌新赖 阅读(143) 评论(0) 推荐(0)
摘要: using Entity; using System.Data.SqlClient; using System.Data; public class CarDAL { /// <summary> /// 添加房车信息 /// </summary> /// <param name="car"></pa 阅读全文
posted @ 2018-11-22 19:19 萌新赖 阅读(146) 评论(0) 推荐(0)
摘要: public class Car { /// <summary> /// 主键 /// </summary> public int ID { get; set; } /// <summary> /// 车名 /// </summary> public string CarName { get; se 阅读全文
posted @ 2018-11-22 19:18 萌新赖 阅读(192) 评论(0) 推荐(0)
摘要: @{ Layout = null;} <!DOCTYPE html> <html><head> <meta name="viewport" content="width=device-width" /> <title>Updata</title> <script src="~/Content/jqu 阅读全文
posted @ 2018-11-22 18:33 萌新赖 阅读(274) 评论(0) 推荐(0)
摘要: @{ Layout = null;} <!DOCTYPE html> <html><head> <meta name="viewport" content="width=device-width" /> <title>Index</title> <style> * { padding:0; marg 阅读全文
posted @ 2018-11-22 18:32 萌新赖 阅读(722) 评论(0) 推荐(0)
摘要: @{ Layout = null;} <!DOCTYPE html> <html><head> <meta name="viewport" content="width=device-width" /> <title>Add</title> <script src="~/Content/jquery 阅读全文
posted @ 2018-11-22 18:32 萌新赖 阅读(375) 评论(0) 推荐(0)
摘要: @{ Layout = null;} <!DOCTYPE html> <html><head> <meta name="viewport" content="width=device-width" /> <title>Login</title> <script src="~/Content/jque 阅读全文
posted @ 2018-11-22 18:31 萌新赖 阅读(2381) 评论(0) 推荐(0)
摘要: using Login.BLL; using Login.Model; using System.Web.Mvc; using Login.Mvc.Fatier; public class LoginController : Controller { UserBll bll = new UserBl 阅读全文
posted @ 2018-11-22 18:30 萌新赖 阅读(194) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web; namespace Login.Mvc.Fatier{ using System.Web.Mvc; public class Login 阅读全文
posted @ 2018-11-22 18:29 萌新赖 阅读(230) 评论(0) 推荐(0)
摘要: /// <summary> /// 注册用户 /// </summary> /// <param name="user"></param> /// <returns></returns> public int AddUser(User user) { SqlParameter[] parameter 阅读全文
posted @ 2018-11-22 18:28 萌新赖 阅读(215) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace Login.Model{ public class Us 阅读全文
posted @ 2018-11-22 18:26 萌新赖 阅读(148) 评论(0) 推荐(0)
摘要: select * from LoginUser goalter proc p_Add( @UserName nvarchar(50), @UserPassword nvarchar(50))asbegin insert into LoginUser values (@UserName,@UserPa 阅读全文
posted @ 2018-11-22 18:24 萌新赖 阅读(187) 评论(0) 推荐(0)