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
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  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
    41,930

    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
  •  



Click Here to Expand Forum to Full Width