SSRSレポートサーバーに保存されているレポートを表示するには、MVCアプリケーションを構成する必要があります。アプリケーションにビューページを追加するには、次の手順を実行します。レポートビューアの詳細については、「ComponentOne ReportViewerテンプレートの使用」を参照してください。

| Index.cshtml |
コードのコピー
|
|---|---|
<head>
<title>ComponentOne MVC ReportViewer</title>
@Html.C1().Styles()
@Html.C1().Scripts().FlexViewer()
</head>
<body>
@(Html.C1().ReportViewer().FilePath(@"SSRS/AdventureWorks/Company Sales"))
</body>
|
|