Currently I am using this to set a the selected item of a UltraComboEdtior:
for
(Int32 i = 0; i < uceUserApprSys.ValueList.ValueListItems.Count; i++)
if (uceUserApprSys.ValueList.ValueListItems[i].DisplayText == SQLReader.GetString(18))
uceUserApprSys.SelectedItem = uceUserApprSys.ValueList.ValueListItems[i];
--
There must be an easier way? The UltraComboEditor is set as a drop down list....
Thanks.
There is a much easier way.
uceUserApprSys.Text = SQLReader.GetString(18);