摘要: Learn about the differences between ASP.NET MVC application and ASP.NET Web Forms applications. Learn how to decide when to build an ASP.NET MVC appli... 阅读全文
posted @ 2015-07-16 09:00 王文姿 阅读(160) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 兰姆表达式{ class Program { //匿名方法的写法 stati... 阅读全文
posted @ 2015-07-15 14:15 王文姿 阅读(743) 评论(0) 推荐(0) 编辑
摘要: 效果图:(一)controllesusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplication1.Models;na... 阅读全文
posted @ 2015-07-15 09:58 王文姿 阅读(972) 评论(0) 推荐(0) 编辑
摘要: id改成1,代表着从第一页开始查询(一)controllesusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplicati... 阅读全文
posted @ 2015-07-15 09:43 王文姿 阅读(348) 评论(0) 推荐(0) 编辑
摘要: (一) contyolles public ActionResult CheckUserID(string id) { // string[] s = new string[] { "1", "2", "3" }; bool isOK... 阅读全文
posted @ 2015-07-13 13:56 王文姿 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 效果图:{(1)首先将一个网页分成四个小部分,一个一个的来做}(一)首先点击view 右键添加视图,设置一个主显示页面。@{ Layout = null;} index 淄博汉企培训教育中心 ... 阅读全文
posted @ 2015-07-11 16:06 王文姿 阅读(603) 评论(0) 推荐(1) 编辑
摘要: (一)controllersusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using 下拉主外键_关系.Models;namespace 下拉... 阅读全文
posted @ 2015-07-10 20:52 王文姿 阅读(574) 评论(0) 推荐(1) 编辑
摘要: (一)显示页面的主函数{controller} public class uController : Controller { // // GET: /u/ public ActionResult Index() { ... 阅读全文
posted @ 2015-07-10 20:01 王文姿 阅读(740) 评论(0) 推荐(0) 编辑
摘要: (一)主页面@using MvcApplication1.Models;@model List@{ Layout = null;} Index 学号 姓名 ... 阅读全文
posted @ 2015-07-08 16:31 王文姿 阅读(498) 评论(0) 推荐(0) 编辑
摘要: (一)主页面显示 代码using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplication1.Models;namespac... 阅读全文
posted @ 2015-07-08 16:23 王文姿 阅读(1083) 评论(0) 推荐(0) 编辑