dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Using a Collection as a datasource to populate a datagrid control

  1. #1
    Jeremy Guest

    Using a Collection as a datasource to populate a datagrid control


    Does anyone know how to set a collection as a datasource for the Microsoft
    Datagrid Control? The end result I'm looking for is to display the results
    of a search that are stored in a collection. Each "result" object has four
    properties that need to be displayed in separate columns of the datagrid,
    and each row should be able to be selected by the user to mark for deletion.
    Thanks!

  2. #2
    ralph Guest

    Re: Using a Collection as a datasource to populate a datagrid control


    "Jeremy" <jeremydavey@hotmail.com> wrote:
    >
    >Does anyone know how to set a collection as a datasource for the Microsoft
    >Datagrid Control? The end result I'm looking for is to display the results
    >of a search that are stored in a collection. Each "result" object has four
    >properties that need to be displayed in separate columns of the datagrid,
    >and each row should be able to be selected by the user to mark for deletion.
    >Thanks!


    You might take a look at "Using the DataGrid Control with a Class Module"
    in the VB Programmer's Guide::Using the DataGrid Control.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center