For example, if i use this in view:
${Html.TextBoxFor(u=>u.UserName)}
How ca开发者_Python百科n i
var name = [xxx].NameFor<User>(u=>u.UserName);
from elsewhere? Is that possible?
System.Web.Mvc.ExpressionHelper.GetExpressionText(LambdaExpression expression)
精彩评论