Results 1 to 1 of 1

Thread: Move DataRow in a DataGridView or ListBox and remember order

  1. #1
    PowerPoster kevininstructor's Avatar
    Join Date
    Jun 08
    Location
    Oregon
    Posts
    5,067

    Move DataRow in a DataGridView or ListBox and remember order

    The attached VS2010 project demonstrates how to move a DataRow up/down using buttons for a DataGridView or ListBox bound to a DataTable. There are two DataGridView examples, first uses MS-Access, second a text file. The last (third) example is for MS-Access and ListBox. In the two examples which read data from MS-Access the row order is stored in the database.
    Attached Files Attached Files

Tags for 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
  •