Q:

Adding dropdowns to each row in a column of a dataview

I have a dataview with the following columns:
<Columns>  
    <asp:BoundField DataField="report_type" HeaderText="Report Type" ReadOnly="True" SortExpression="report_type"/>  
    <asp:BoundField DataField="progress" HeaderText="Progress" SortExpression="progress"/>  
</Columns> 

This works fine, it displays records from the database.
How do I replace the progress column and make it contain a dropdown for each row?  Where the dropdown contains complete and incomplete?

A:

You can use Template column  in order to customize your render 
<asp:TemplateField HeaderText="..">
  <ItemTemplate>
     <asp:DropDownList ID="DropDownList1" runat="server">
     </asp:DropDownList>
  </ItemTemplate>
</asp:TemplateField>

