Differences between DataGrid, FlexGrid and ListView-VBForums
Results 1 to 4 of 4

Thread: Differences between DataGrid, FlexGrid and ListView

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Posts
    138

    Differences between DataGrid, FlexGrid and ListView

    I am still confuse on when to use DataGrid, FlexGrid or ListView. Can anyone please guide me when to use any of these controls and what are the advantages or disadvantages? I would also appreciate if you all can suggest me a better control to display or populate data.

  2. #2
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: Differences between DataGrid, FlexGrid and ListView

    In my opinion you should NEVER use the DataGrid as that is a bound control, and bound controls should be avoided more strenuously than my mother in-laws meatloaf.

    When you use a FlexGrid as opposed to a ListView is up to you. That is a matter of preference.

    My is the ListView. For others it is the FlexGrid. There is no real hard and fast rules. It pretty much up to you and what you feel more comfortable using.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Posts
    138

    Re: Differences between DataGrid, FlexGrid and ListView

    Thanx Hack for such a good info.

    By the way do u or anyone has any tutorial or info on how to use ListView or FlexGrid? I have found a few thread that explains on the usage of FlexGrid but none so far for ListView.

    Thank you in advance on any replies, I appreciate it very much.

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    37,238

    Re: Differences between DataGrid, FlexGrid and ListView

    If you want to load data from a database.. for a FlexGrid see the link in my signature, and for a ListView see the article How can I fill a ListView with values in a database? from our Database Development FAQs/Tutorials (at the top of the Database Development forum)

    Other code for working with a FlexGrid can be found in this thread

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.