Asp.net mvc 3 如何在MVC3中禁用DropDownlist?

Asp.net mvc 3 如何在MVC3中禁用DropDownlist?,asp.net-mvc-3,c#-4.0,Asp.net Mvc 3,C# 4.0,我正在绑定FixedBYId以绑定Dropdownlist…以显示Dropdownlist而不是编辑数据 MY View Code ------------- <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Gridview_BugTracker.Models.BugTracker_DataHelper>" %> <!DOCTYPE html> <html> <head

我正在绑定FixedBYId以绑定Dropdownlist…以显示Dropdownlist而不是编辑数据

MY View Code
-------------
  <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Gridview_BugTracker.Models.BugTracker_DataHelper>" %>

<!DOCTYPE html>

<html>
<head runat="server">
    <title>BugHistory</title>
</head>
<body>
    <div>

     <%: ViewBag.Title = "BugHistory"%>
    <% using (Html.BeginForm())
       { %>      
      <%:Html.ValidationSummary(true)%>      

        <fieldset>
        <legend>BugHistory</legend>

       <div class="editor-label">
           <%:Html.LabelFor(model => model.FixedByID)%>
        </div>
        <div class="editor-field">
            <%:Html.EditorFor(model => model.EmployeName)%>
            <%:Html.ValidationMessageFor(model => model.EmployeName)%>
        </div>     


        <form action="BugHistory.aspx" method="post">  
        <p> <input type="submit" value="BugHistoryInsert" /></p> 
        </form>           
          </fieldset>   
       <% }%>            
    </div>
</body>
</html>
我的视图代码
-------------
臭虫史
臭虫史
model.FixedByID)%>
模型.雇员姓名)%>
模型.雇员姓名)%>


这对我不起作用。我做错了什么?
有人能帮我做这件事吗?

你能进一步澄清一下你的问题吗?我不明白你在问什么。@miscusermandude。。。我不知道这是什么意思:“我正在绑定FixedBYId来绑定dropdownlist…来显示dropdownlist而不是编辑数据”你能澄清一下吗?@miscusermandude…实际上在我的应用程序中我有下拉列表,所以当我想道歉的时候,我只想解散(失踪)-我想我们有一个翻译问题。为了得到正确的回复,你可能真的需要修改你的帖子的措辞。我实在帮不了你了。