title: how to add html.dropdown in grid in MVC?
body: <pre><code>&lt;div style="margin-left:27px; margin-bottom:20px;"&gt;
              &lt;h2&gt;Email Scheduler&lt;/h2&gt;
              &lt;div id="dvtblCustomer" class="table-responsive"&gt;
                  &lt;table class="table-bordered col-offset-12"&gt;
                      &lt;thead&gt;
                          &lt;tr class="label-primary"&gt;
                              &lt;th style="padding:5px 15px;"&gt;
                                  Customer Designation
                                   @Html.DropDownList("CustomerDesignation", new SelectList(Model., "Value", "Text"), new { id = "CustomerDesignationDDL", name = "CustomerDesignationDDL" })
                              &lt;/th&gt; 
                          &lt;/tr&gt;
                      &lt;/thead&gt;
  
                      @foreach (var item in Model)
                      {
                          &lt;tr style="text-align:center"&gt;
                              &lt;td&gt;
                                  @item.CustomerDesignation
                              &lt;/td&gt;
                          &lt;/tr&gt;
                      }
  
              &lt;/table&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>This is my webgrid. I want to add dropdownlist in table header for table filtering</p>