[乞援] 为什么编辑模板列EditItemTemplate中的DropDownList控件无法显示
[求助] 为什么编辑模板列EditItemTemplate中的DropDownList控件无法显示?
转换成html后,这里仅显示<td></td>。
------解决方案--------------------
编辑状态才有。
- XML code
<EditItemTemplate> <asp:DropDownList ID="dropOrderStatuses" runat="server" SelectedValue='<%# Bind("StatusId") %>'> <asp:ListItem Value="1">已确认</asp:ListItem> <asp:ListItem Value="2">未确认</asp:ListItem> <asp:ListItem Value="3">已取消</asp:ListItem> </asp:DropDownList> </EditItemTemplate>
转换成html后,这里仅显示<td></td>。
------解决方案--------------------
编辑状态才有。