CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2010
    Posts
    907

    Grouping data retrieved from a Data Source (for a DataGrid)

    Hi all,
    If I directly map the database to the DataGrid, there is nothing special.
    If I need to group the data, like summing the amount of money for a column, how
    would I do that?
    Thanks
    Jack

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Grouping data retrieved from a Data Source (for a DataGrid)

    Couple of different ways. Search for the best! http://stackoverflow.com/questions/3...ridview-column
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Dec 2010
    Posts
    907

    Re: Grouping data retrieved from a Data Source (for a DataGrid)

    Thanks, buddy.
    Have a nice weekend
    Jack

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