1
我需要做一些驗證,其中必須輸入2個字段中的1個。 MVC 2中最好的做法是什麼?MVC 2:交叉字段自定義驗證
該字段是;
<%: Html.EditorFor(model => model.contract.ClientOrderNumber)%>
和
<%: Html.TextAreaFor(model => model.contract.InstructionWithoutClientOrder,
new { maxlength = "255", style = "width:200px;height:100px;"})%>