%@ Page language="c#"%>
Page in old ASP style
Uses old style page creating by direct code instead of use Page_Load event, uses <form> submit and TreeGrid ASP.NET framework
Source files: FrameworkAspStyle.aspx
(this html page and also server script that generates and processes XML data),
DBDef.xml
(static XML layout),
../Database.db
(source SQL database, table
TableData)
../Framework/TreeGridFramework.aspx
(TreeGrid ASP.NET framework support script, included into
Framework.aspx script)
This example uses
SQLite
../Database.db file as source SQL database.
You can switch to MS Access
MDB database by uncomment the line "Data Source=..." in FrameworkAspStyle.aspx.
The 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.
To permit 32bit application on 64bit IIS, go to IIS manager, display application pools list (usually in root under computer name).
Choose DefaultAppPool (or the pool you use for the ASP.NET applications the TreeGrid examples are run on), select Advanced configuration and set Permit 32bit application to true.