上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: HttpContext.ApplicationInstance.Context.Request 阅读全文
posted @ 2015-04-22 09:11 天涯过者 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 这个HtmlHelper的扩展方法Partial,和HtmlHelper自带的 RenderPartial功能比较接近,两者都可以输出一个Partial视图;其区别如下:. Partial有返回值(MvcHtmlString);RenderPartial没有返回值(Void)。不过Partial是将... 阅读全文
posted @ 2015-04-21 15:48 天涯过者 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 如果测试的url地址是http://www.test.com/testweb/default.aspx, 结果如下:Request.ApplicationPath: /testwebRequest.CurrentExecutionFilePath: /testweb/defaul... 阅读全文
posted @ 2015-04-21 08:42 天涯过者 阅读(573) 评论(0) 推荐(0) 编辑
摘要: var ajaxTimeoutTest = $.ajax({ url:'',//请求的URL timeout : 1000, //超时时间设置,单位毫秒 type : 'get',//请求方式,get或post data :{},//请求所传参数,json格式 dataType:'json... 阅读全文
posted @ 2015-04-20 15:17 天涯过者 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 原文出处http://yelaiju.cnblogs.comvarchar(n)长度为 n 个字节的可变长度且非 Unicode 的字符数据。n 必须是一个介于 1 和 8,000 之间的数值。存储大小为输入数据的字节的实际长度,而不是 n 个字节。nvarchar(n)包含 n 个字符的可变长度 ... 阅读全文
posted @ 2015-04-16 11:01 天涯过者 阅读(216) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebContro... 阅读全文
posted @ 2015-04-09 15:56 天涯过者 阅读(240) 评论(0) 推荐(0) 编辑
摘要: public abstract class AUser { public abstract UserInfo getUser(); public virtual void Save(... 阅读全文
posted @ 2015-04-09 15:44 天涯过者 阅读(476) 评论(0) 推荐(0) 编辑
摘要: /// /// 重写父类的方法,父类要执行的方法已经被覆盖 /// /// protected override void OnInit(EventArgs e) { Console.Write(... 阅读全文
posted @ 2015-04-09 15:42 天涯过者 阅读(268) 评论(0) 推荐(0) 编辑
摘要: ASP.NET MVC 入门1、简介什么是MVC模式MVC(Model-View-Controller,模型—视图—控制器模式)用于表示一种软件架构模式。它把软件系统分为三个基本部分:模型(Model),视图(View)和控制器(Controller)。那么MVC模式和我们熟悉的WebForm模式有... 阅读全文
posted @ 2015-04-01 17:19 天涯过者 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 存:User user=new User();session["USER"]=user;取:User u= (User ) session["USER"]; 阅读全文
posted @ 2015-03-25 11:37 天涯过者 阅读(325) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 下一页