bind ArrayList to GridView

This is a discussion on bind ArrayList to GridView within the C# Programming forums, part of the General Programming Boards category; Hello, is it possible to bind an ArrayList of objects to GridView as data source in WinForms application ?...

  1. #1
    Registered User khdani's Avatar
    Join Date
    Oct 2007
    Posts
    42

    bind ArrayList to GridView

    Hello,
    is it possible to bind an ArrayList of objects to GridView as data source in WinForms application ?

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Read here for what datasources are supported: DataGrid.DataSource Property (System.Windows.Forms)
    And then here: ArrayList Class
    And you'll see that it's ok.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ArrayList Basics - Example
    By wbeasl in forum C# Programming
    Replies: 2
    Last Post: 12-26-2008, 04:41 PM
  2. Trouble using ArrayList
    By stevespai in forum C# Programming
    Replies: 12
    Last Post: 07-31-2006, 12:17 PM
  3. Getting an element from an ArrayList
    By osal in forum C# Programming
    Replies: 4
    Last Post: 08-03-2005, 10:34 AM
  4. What does bind() do, exactly?
    By Hunter2 in forum Networking/Device Communication
    Replies: 9
    Last Post: 07-07-2005, 01:12 PM
  5. Bind();
    By SirCrono6 in forum Networking/Device Communication
    Replies: 5
    Last Post: 02-26-2005, 08:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21