CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2007
    Location
    In the present
    Posts
    80

    Datagridview vs Listview

    I was wondering if anyone has opinions on when to use each one. I had been using datagridviews but recently switched to listviews bascially because (in my opinion) they look better.

  2. #2
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Datagridview vs Listview

    That really depends on the project, the amount of data and what you want to do with it. Personally I would not even consider using a list view to attach to my database and display inventory data. I do use them for certian items mostly for user selection and of course use them if I need to display icons or thumbnails.

    In general if you are dealing with rows of data that need conventional functions (add/Edit/Update/Delete) this is pretty much what the datagrids are for where as list view is for displaying either a simple list or a list with a few sub items and best for icons or thumbnails.
    Always use [code][/code] tags when posting code.

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

Featured