Results 1 to 3 of 3

Thread: List view binding question

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2003
    Posts
    44

    List view binding question

    I tried to use a list box to display two columns from an sql statement .. problem was I am unable to view one column.

    So .. after hunting for solutions I found that maybe I should be using a list view. With that, do I need to walk through the data table and load the listview object or do I bind the listview object to the datatable. I could not find any good examples of either.

    If someone sould point me in the right direction that would be great.

    Thanks.

  2. #2
    Registered User
    Join Date
    Nov 2002
    Location
    Växjö, Sweden
    Posts
    314
    I have spent the last few weeks wrestling data binding, and I haven't found a solid way to use it with a ListView, one problem is that the SubItem property is not a property of the ListView it self but rather of the specific item.

    In situations where I coulnd't use but the Listview, I ended up filling it, as in the old days.

    Maybe someone else found a good way to do it?

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2003
    Posts
    44
    Thanks,
    That is what I was afraid of ... I might end up using a datagrid instead (at least I can manipulate a datagrid easily).

    Thanks again.
    Frank

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width