摘要: mvcAPI (入门 3)(源码)http://download.csdn.net/detail/chunfang740/9078579 阅读全文
posted @ 2015-09-04 20:38 每天进步一点点! 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 续上1)无参数Get请求 Id Name Age 无参数Get请求... 阅读全文
posted @ 2015-09-04 17:14 每天进步一点点! 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1)建立一个实体类 using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace MvcApplication23.Models{ public class UserInfo... 阅读全文
posted @ 2015-09-04 16:45 每天进步一点点! 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 步骤:1)建立order 类2)建立OrderEntity类3)创建控制器API这时候能看到Json 格式的数据啦5)想在网页或客户端显示 添加一个网页如下: 1 2 3 4 5 6 7 46 47 48 49 50 ... 阅读全文
posted @ 2015-09-04 15:43 每天进步一点点! 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 第一步创建元数据类 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Reflection; 5 using System.Web; 6 using System.Web.M... 阅读全文
posted @ 2015-09-04 13:00 每天进步一点点! 阅读(402) 评论(0) 推荐(0) 编辑
摘要: MVC 中DropDownList 用法后台1 Dictionary dc = new Dictionary();2 dc.Add("订单提交", 0);3 dc.Add("订单确认", 1);4 dc.Add("已入库", 2);5 dc.Add("代付款", 3);6 dc.Add("已支付",... 阅读全文
posted @ 2015-09-04 12:02 每天进步一点点! 阅读(473) 评论(0) 推荐(0) 编辑
摘要: EF1)简单查询后台代码 1 using MvcApplication18.Models; 2 using System; 3 using System.Collections.Generic; 4 using System.Data.SqlClient; 5 using System.Linq; ... 阅读全文
posted @ 2015-09-04 01:21 每天进步一点点! 阅读(531) 评论(0) 推荐(0) 编辑