How do I get textarea for Html.EditorForModel() method in asp.net mvc 2

asp.net, asp.net-mvc, asp.net-mvc-2, linq-to-sql

Solution

In your model, you need to specify the a DataType.MultilineText annotation:

[DataType(DataType.MultilineText)]
public string MyProperty;

Problem

Somebody knows the answer? I'm using L2S with field ntext in my db

Original source