Compare Page Revisions
« Older Revision - Back to Page History - Newer Revision »
dbo.AppReport
CREATE TABLE [dbo].[AppReport]( [AppReportID] [int] IDENTITY(1,1) NOT NULL, [DisplayName] [nvarchar](100) NOT NULL, [IsDeleted] [bit] NOT NULL, [ReportFile] [nvarchar](100) NOT NULL, CONSTRAINT [PK_AppReport] PRIMARY KEY CLUSTERED ( [AppReportID] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY]
AppReportManager
ReportsForCurrentUser
ReportsController
View
View.cshtml
@{ ViewBag.Title = "Reports"; Layout = "~/Views/Shared/_Layout.cshtml"; } <iframe id="ReportIframe" src="/Reports/ReportViewer/aspx" style="width:100%; height:550px; border: 1px dotted silver;"></iframe> ====ReportViewer.aspx Page==== Create a {{Reports}} folder in the root of your web project, and create a new Web Forms page called {{ReportViewer.aspx}} within it with the following content.
====ReportViewer.aspx.cs Code Behind====
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.