<asp:DropDownList ID="ddl_select" runat="server" DataTextField="Name" DataValueField="ID" Width="100%"/>
报错
Object of type 'System.String' cannot be converted to type 'System.Int32'.
是否是由于ID是int 类型,要怎么修改 ?
<asp:DropDownList ID="ddl_select" runat="server" DataTextField="Name" DataValueField="ID" Width="100%"/>
报错
Object of type 'System.String' cannot be converted to type 'System.Int32'.
是否是由于ID是int 类型,要怎么修改 ?