How do I get textarea for Html.EditorForModel() method in asp.net mvc 2
Somebody knows the answe开发者_JAVA技巧r? I'm using L2S with field ntext in my db
In your model, you need to specify the a DataType.MultilineText annotation:
[DataType(DataType.MultilineText)]
public string MyProperty;
精彩评论