forum

Home / DeveloperSection / Forums / ListView DropDownList Edit ListView

ListView DropDownList Edit ListView

Anonymous User 1711 23-Aug-2014

I have created a ListView that has editing enabled, the wizard generated the table with the use of textboxes but i require the use of dropdown lists for some options.

I have created the dropdown list

 <asp:DropDownList ID="ActionStatusTextBox" runat="server">
                    <asp:ListItem Value="Ongoing">Ongoing</asp:ListItem>
                    <asp:ListItem Value="Open">Open</asp:ListItem>
                    <asp:ListItem Value="Closed">Closed</asp:ListItem>
 </asp:DropDownList>

The drop down list generates successfully but doesn't submit and enter itself in the databse.

<%# Bind("ActionStatus") %>'

The above snippet needs to used somewhere in order to bind the data but which parameter does it need attaching to to pass the data?

I've tried everything and its giving me a right headache!

Thanks


Updated on 23-Aug-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By