0

こんにちは、Path In RDLCレポートから画像を追加する方法?? データベースのどこに画像名のみが保存されます。

そしてそのようなレポートコード

{
    EmployeeDataSetTableAdapters.tblAdditionalInfoTableAdapter adpPic = new    EmployeeDataSetTableAdapters.tblAdditionalInfoTableAdapter();
    EmployeeDataSet.tblAdditionalInfoDataTable tblPic = new EmployeeDataSet.tblAdditionalInfoDataTable();
    adpPic.Fill(tblPic);
    ReportDataSource mds2 = new ReportDataSource("Pics", (DataTable)tblPic);

    this.ReportViewer1.LocalReport.DataSources.Clear();
    this.ReportViewer1.LocalReport.ReportPath = Server.MapPath("PrintID.rdlc");

    this.ReportViewer1.LocalReport.DataSources.Add(mds2);
    this.ReportViewer1.LocalReport.Refresh();
}
4

1 に答える 1

0

以下のリンクを確認してください。RDLC レポートに画像がどのように追加されるかを説明します。ビデオには作品のデモが含まれています

https://www.youtube.com/watch?v=RxS323bLdFs

http://easyprogrammingtechniques.blogspot.in/2014/02/how-to-add-image-in-rdlc-report.html

于 2014-03-13T05:09:39.647 に答える