示例#1
0
        protected void btnExportSchema_Click(object sender, EventArgs e)
        {
            Response.ContentType = "application/octet-stream";
            Response.AddHeader("Content-Disposition", "attachment;filename=n2_upgrade.sql");

            InstallationManager im = Installer;

            Response.Write(im.ExportUpgradeSchema());
            Response.End();
        }