0
Helllo,如何從路徑添加圖像在RDLC報告中?在數據庫中只有圖像名稱被保存。如何從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();
}
你應該張貼的答案,這裏不解釋內容的鏈接的演示,因爲如果鏈接刪除了你的答案是沒有用的。 – krishna