0
我嘗試在Windows Mobile 5.0的Pocket PC填充組合框,但我有此錯誤:填入COMBOX 5.0
方法是:
Value does not fall within the expected range.
從web服務數據集的數據表返回:
public void loadComboBox(ref ComboBox ComboBoxGen, string DisplayText, string Value,DataTable dt)
{
ComboBoxGen.DataSource = dt;
ComboBoxGen.DisplayMember = DisplayText;
ComboBoxGen.ValueMember = Value;
}