this using sqldatasource. can see choices , choosing 1 works, click update button not save anything. missing?
<asp:templatefield headertext="status" sortexpression="status"> <edititemtemplate> <asp:dropdownlist id="dropdownlist1" runat="server" autopostback="true" width="99px" selectedvalue='<%# bind("status") %>'> <asp:listitem>open</asp:listitem> <asp:listitem>closed</asp:listitem> </asp:dropdownlist> </edititemtemplate> <itemtemplate> <asp:label id="label14" runat="server" text='<%# bind("status") % >'></asp:label> </itemtemplate> </asp:templatefield>
Comments
Post a Comment