I have a combobox databound to a table, Regions. The DataTextField is set to region name and the DataValueField is set to RegionID which is a unique identifier GUID.
Region.SelectedIndex = Region.FindItemIndexByText(rowView["RegionKey"].ToString());
Region.SelectedIndex = Region.FindItemIndexByValue(rowView["RegionKey"].ToString());
Neither of the above statements work with the GUID. How do you FindItemIndex with GUID`s
Regards, Lee
Combobox Find Itmem using uniqueidentifier
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Krishna GaradRank #191 · 12.8K reputationPosted Jan 10, 2011, 5:55 PM EST