asp.net – Html.BeginForm()类型的扩展名

asp.net – Html.BeginForm()类型的扩展名

有没有人知道创建自定义 HtmlHelperextension方法的语法,其行为类似于.. % using (Html.BeginForm()) {%pLoads of html stuff here /p% } % 我正在考虑…… 有任何想法吗? 干杯, ETFairfax 您需要创建一个实现IDisposable接口的类,并从HtmlHelper返回该接口.

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部