您好,我来为您解答:
<%:Html.TextAreaFor(model => model.Content, 10, 50, new { })%>
10行,50列
希望我的回答对你有帮助。
代码:
<%:Html.TextAreaFor(model => model.Content, 10, 50, new { })%>
10行,50列
文本区域即输入一段文字的区域
比如你提问的题目,是文本自段:只能输入一行字
而你问题具体描述的内容,是文本段(需要文本区域):要输入很多行内容。