关于在datalist中使用DropDownList的问题???高分
我在datalist中EditItemTemplate中使用了DropDownList
<asp:DropDownList id="DropDownList1" Runat=server ></asp:DropDownList>
当我执行 DropDownList1.Items.Add("asdfasdf")的时候
发生 未将对象引用设置到对象的实例。 的错误
怎么办?????
还有如果帮定的字段为空,我在aspx中如何判断????各位帮忙