dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: DataView - Disable automatic sorting?

  1. #1
    Join Date
    Nov 2008
    Posts
    3

    DataView - Disable automatic sorting?

    Hello!

    I have a dataview for a grid and when I'm done editing my grid so can I call my dataview.Table.GetChanges() to get my changes, that's nice. However...

    If my table looks like this at start:
    Aa
    Bb
    Cc
    Dd

    And I change the "Bb"-cell to "Gg" so does it end up like:
    Aa
    Cc
    Dd
    Gg

    When I want:
    Aa
    Gg
    Cc
    Dd


    I want the dataview to re-sort after I have told the application (with a click on a button) that I'm done with all my editing.

    So, how do I disable automatic sorting in the dataview?

  2. #2
    Join Date
    Jan 2003
    Location
    7,107 Islands
    Posts
    2,487

    Re: DataView - Disable automatic sorting?

    you may post some codes
    Busy

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)