摘要: Response.Write用法总结问题一:Response.Write 后连接Response.Redirect ,则Response.Write无法显示,直接跳转入Response.Redirect 的页面。解决方案:Response.Write("");假设,script内容中含有变量,那么解... 阅读全文
posted @ 2015-07-17 08:42 Yusarin 阅读(13093) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { //匿名方法 //第一个参数是返回值类型,后面的都是输入参数 //表达式“=”左面是形参,“>”右面... 阅读全文
posted @ 2015-07-17 08:38 Yusarin 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Webform——服务器控件与客户端控件 Webform,即BS,浏览器应用。 关于服务器和客户端,在Webform 中, 服务器就相当于后台(也就是编辑C#代码的地方),客户端相当于前台(也就是Html页面)。 用法: ①如果想在服务器控件里调用客户端控件的js或Jquery函数,必须在服务器的控... 阅读全文
posted @ 2015-07-17 08:35 Yusarin 阅读(726) 评论(0) 推荐(0) 编辑
摘要: 控制器端代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplication1.Models;namespace Mv... 阅读全文
posted @ 2015-07-15 18:36 Yusarin 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 控制器端代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace MvcApplication5注册验证.Models{ public class ZhuceBF ... 阅读全文
posted @ 2015-07-15 18:33 Yusarin 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 控制器端代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplication9.Models;namespace Mv... 阅读全文
posted @ 2015-07-15 18:26 Yusarin 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 控制器端代码(都在同一个表中):using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplication10.Models;na... 阅读全文
posted @ 2015-07-15 18:17 Yusarin 阅读(1230) 评论(1) 推荐(0) 编辑
摘要: 控制器端代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplication8.Models;namespace Mv... 阅读全文
posted @ 2015-07-15 18:15 Yusarin 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 控制器代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplication1.Models;namespace Mvc... 阅读全文
posted @ 2015-07-15 18:10 Yusarin 阅读(2909) 评论(0) 推荐(0) 编辑
摘要: (一)软件的实现:SoftReg类: 1: using System; 2: using System.Collections.Generic; 3: using System.Linq; 4: using System.Text; 5: using System.Managem... 阅读全文
posted @ 2015-07-15 18:03 Yusarin 阅读(1107) 评论(0) 推荐(2) 编辑