populate combox on windows mobile 5.0
Posted
by user315502
on Stack Overflow
See other posts from Stack Overflow
or by user315502
Published on 2010-04-13T13:20:48Z
Indexed on
2010/04/13
13:23 UTC
Read the original article
Hit count: 285
Hi,
I try populate combobox in windows mobile 5.0 pocket pc but i have this error:
Value does not fall within the expected range.
the datatable return from dataset on the webservice:
the method is:
Value does not fall within the expected range
public void loadComboBox(ref ComboBox ComboBoxGen, string DisplayText, string Value,DataTable dt)
{
ComboBoxGen.DataSource = dt;
ComboBoxGen.DisplayMember = DisplayText;
ComboBoxGen.ValueMember = Value;
}
© Stack Overflow or respective owner