DataGrid and ArrayList

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jarsinio

    #1

    DataGrid and ArrayList

    Hi,

    In my aplication I have an ArrayList thay hold many instances of a
    class. ( The bussiness layer return to the UI layer an ArrayList)
    I want to know how Can I fill the DataGrid with the arraylist ?


    Thanks
    Alan

  • Ken Tucker [MVP]

    #2
    Re: DataGrid and ArrayList

    Hi,

    You can set the datagrid's data source to the arraylist. Any
    properties in the class stored in the arraylist will be shown in the
    datagrid. Here is a link to an example



    Ken
    ----------------------------------
    "Jarsinio" <alangarbo@gmai l.comwrote in message
    news:1167400596 .453348.126360@ 79g2000cws.goog legroups.com...
    Hi,
    >
    In my aplication I have an ArrayList thay hold many instances of a
    class. ( The bussiness layer return to the UI layer an ArrayList)
    I want to know how Can I fill the DataGrid with the arraylist ?
    >
    >
    Thanks
    Alan
    >

    Comment

    Working...