摘要: HTML扩展类的所有方法都有2个参数:以textbox为例子public static string TextBox( this HtmlHelper htmlHelper, string name, Object value, IDictionary htmlAttributes )public static string TextBox( this HtmlHelper htmlHelper, string name, Object value, Object htmlAttributes )这2个参数代表这个html标签的属性集合。使用方法如下。 1.ActionLink带有QueryS 阅读全文
posted @ 2013-10-17 23:25 ~峰~ 阅读(176) 评论(0) 推荐(1) 编辑