Posted on: 1/21/2015 6:56:20 PM | Views : 557

Hello
I am trying to display a drop down list in the GridView Edit Item Template , which I am able to do so but in the Edit Mode the selected value set on the Drop down list does not works
My asp code is something like this
<asp:TemplateField HeaderText="Software" SortExpression="Software"> <EditItemTemplate> <asp:DropDownList ID="ddlSoftware" runat="server" DataTextField="SoftwareName" DataValueField="SoftwareId"> </asp:DropDownList> </EditItemTemplate> <ItemTemplate> <asp:Label ID="Label2" runat="server" Text='<%# Bind("Software") %>'></asp:Label> </ItemTemplate> ...

Go to the complete details ...