D
Dica
i've got a dataSet that looks like the following:
<tblTasks>
<id>0</id>
<summary>-- Select A Task--</summary>
</tblTasks>
<tblTasks>
<id>713</id>
<summary>research</summary>
</tblTasks>
<tblTasks>
<id>717</id>
<summary>Other - time estimation</summary>
</tblTasks>
i've bound the dataSet to my comboBox as follows:
cboTasks.DataSource = null;
cboTasks.Items.Clear();
cboTasks.DataSource = oDataSet;
cboTasks.DisplayMember = "tblTasks.summary";
cboTasks.ValueMember = "tblTasks.id";
but the "-- Select Task --" option is showin up last. any idea why or how to
fix?
<tblTasks>
<id>0</id>
<summary>-- Select A Task--</summary>
</tblTasks>
<tblTasks>
<id>713</id>
<summary>research</summary>
</tblTasks>
<tblTasks>
<id>717</id>
<summary>Other - time estimation</summary>
</tblTasks>
i've bound the dataSet to my comboBox as follows:
cboTasks.DataSource = null;
cboTasks.Items.Clear();
cboTasks.DataSource = oDataSet;
cboTasks.DisplayMember = "tblTasks.summary";
cboTasks.ValueMember = "tblTasks.id";
but the "-- Select Task --" option is showin up last. any idea why or how to
fix?