我有这个: <% if (ViewData["roots"] != null) {%> <%Html.DropDownList("roots"); %> <%}%> 但它不起作用。如何检查ViewData是否存在? 最佳答案. 尝试 ViewData.
確定! 回上一頁