Server side save, sorting and export
Server side paging with uploading changes, sorting and export upon SQL database
Do not run this file locally!
Run it from your local or remote web http server where is installed IIS and ASP.NET (1.0, 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, ...).
Source files:

SortingExport.html

(this html page),

SortingExport_Layout.xml

(static XML layout),

SortingExport_Data.aspx

(server script generates XML list of pages),

SortingExport_Page.aspx

(server script generates XML for individual page),

SortingExport_Upload.aspx

(server script saves XML changes to db),

SortingExport_Export.aspx

(server script generates XHTML file for Excel),

../Database.db

(source SQL database, table TableData)
This example uses

SQLite

../Database.db file as source SQL database. You can switch to

MS Access

MDB database by setting UseMDB property to true in all 4 SortingExport_*.aspx files.
The MS Access MDB database can be used only in 32bit mode of IIS. Also the ASP.NET service program must have write access to the Database.mdb file.
The pages are downloaded on demand from server (when the page is visible by scrollbars).
It is simple example with ineffective database access - it loads the whole table for every page and throws the rest away. It also simply reloads all body when rows are added or deleted instead of handling changes in pages.