0
这已经得到我彻底失望Webcombo返回错误时试图填充基于另一个WebCombo
我有几个webcombo的箱子,hierachial:
洲 国家
加载窗体时一切工作正常,当我第一次改变大陆时,国家正确地重新填充。但是,如果我第二次更换大陆,则会收到错误消息:
Specified argument was out of the range of valid values.Parameter name: The DataValueField of ValueField was not found in the Columns collection.
有谁能告诉我为什么?
P.S.这是我在Page_Load事件
if (!IsPostBack)
{
this.Load_AreaList();
this.Load_AreasOfInterest();
this.Load_Degrees();
this.Load_GenderList();
this.Load_ParticipationDateModifiers();
this.Load_ProgramCategories(nEventID);
this.Load_YesNoList();
this.Load_ParticipantInformation(nParticipantID);
}
而且这发生在与这应该填充的状态组合框另一个国家webcombo形式的另一部分。
缪斯, 感谢您对这个观点。我应该更具体地说明我使用的是哪种类型的组合控制。但是永远不要少,你关于空值的信息让我思考,并且我意识到它不是questino中的组合框,而是另一个在页面加载时没有数据的组合框。感谢您的提示,这现在正在工作。 – mattgcon 2010-05-05 14:31:58