All but two of my fields update. The two fields that do not update are populated with a DatasourceID. I have put the version that works at the top (where there are fixed values in the dropdown) and below an example of the one that when I click on a dropdown
saves as a blank.
Working:
<asp:TemplateField HeaderText="Block" SortExpression="">
<ItemTemplate>
<asp:Label ID="lblIsBlocked" runat="server" Width="30px" Text='<%# Eval("IsBlocked") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:DropDownList ID="ddIsBlocked" Width="30px" runat="server" Enabled="true" SelectedValue='<%# Bind("IsBlocked") %>'>
<asp:ListItem Value="Y">Yes</asp:ListItem>
...
Go to the complete details ...