摘要: 调用代码执行后效果图1.使用静态方法创建HTML辅助类using System;namespace MvcApplication1.Helpers{ public class LabelHelper { public static string Label(string target, string text) { return String.Format("<label for='{0}'... 阅读全文
posted @ 2010-04-16 17:14 widia 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 前言与目录前言目录第4章 自定义GridView控件开发4.1 扩展方法概述4.1.1 定义扩展方法4.1.2 使用扩展方法4.1.3 泛型的扩展方法4.2.1 创建HtmlTextWriter类4.2.2 RenderBeginTag()和RenderEndT..4.2.3 AddAttribute()方法4.3.1 GridView控件的基本功能4.3.2 构建分页列表4.3.3 构建LINQ... 阅读全文
posted @ 2010-04-16 10:14 widia 阅读(306) 评论(0) 推荐(0) 编辑