Print Search Rate
    
   02-19-2004, 11:56 AM
HOWTO: How Can I Access Any Member in the Dataset Row With the UiListBox?

The UiListBox returns a UiListItem for the SelectedItem while the .NET control returns an object (which can be a data row when bound to a data source).

You can do something similar with SharpUI's UIListBox by matching the index of the SelectedItem to the row in the database. You will need to manually select a specific row from the data source instead of setting the row to the SelectedItem. Then you can access the other rows. Otherwise, only DisplayMember and ValueMember can be accessed.



Applies To:
SharpUI for .NET 1.0
GrapeCity » Knowledge Base » KnowledgeBase f... » HOWTO: How Can I Access Any Member in the Dataset Row With the UiListBox?
Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.