D
dwok
Hi All,
After looking at the documentation on the SqlCeResultSet I was under
the inpression that I could use this as a datasource for a list control
such as a ComboBox. However it does not seem to be working for me.
What I want to do is bind the ComboBox control such that I can set a
DisplayMember and ValueMember. From what I have seen so far the only
way I can currently do this is by using a DataSet which is more
overhead than I want, especially when I have no need to update the
DataSet.
I could use a SqlCeDataReader, which would be fast, but I know of no
way to set the ValueMember property of the items in the ComboBox using
this method. Any thoughts?
After looking at the documentation on the SqlCeResultSet I was under
the inpression that I could use this as a datasource for a list control
such as a ComboBox. However it does not seem to be working for me.
What I want to do is bind the ComboBox control such that I can set a
DisplayMember and ValueMember. From what I have seen so far the only
way I can currently do this is by using a DataSet which is more
overhead than I want, especially when I have no need to update the
DataSet.
I could use a SqlCeDataReader, which would be fast, but I know of no
way to set the ValueMember property of the items in the ComboBox using
this method. Any thoughts?