C# と VB.NET の質問掲示板

わんくま同盟

ASP.NET、C++/CLI、Java 何でもどうぞ

C# と VB.NET の入門サイト


(過去ログ 179 を表示中)
■102630 / )  Re[2]: Asp.net webFormでCrystalReportが
□投稿者/ 由美です (2回)-(2023/11/28(Tue) 14:53:15)
No102629 (WebSurfer さん) に返信
> ■No102628 (由美です さん) に返信
>
>>CrystalReport(Viewerとレポート)が表示されません。
>
>>③WebForm1にReportViewerとreportsourceを追加します
>
> CrystalReports なのか ReportViewer なのか、どっちの話ですか?

お世話になります。
③WebForm1にReportViewerとreportsourceを追加します
 → 1,WebForm1にReportViewerを追加します
2,追加したReportViewerのレポートソースにreportsourceをセットします
   3,reportsourceのレポートは新規作成で空のクリスタルレポートファイルを作成します 
   → (この行です)④reportsourceで新規レポート作成をします
コードのこの部分になります
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" Height="1202px" ReportSourceID="CrystalReportSource1" ToolPanelWidth="200px" Width="1104px" />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="CrystalReport1.rpt">
</Report>
</CR:CrystalReportSource>

宜しくお願いします




返信 編集キー/


管理者用

- Child Tree -