问题
please describe How to add picture at run time in the crystal report using C#
private void LoadImage(DataRow objDataRow,
string strImageField, string FilePath)
{
FileStream fs = new FileStream(FilePath,
System.IO.FileMode.Open, System.IO.FileAccess.Read);
}
回答1:
use crystalrepoert.setdatasource(datatable)
to load pictures in crystal report file, the image column of datatable apeears in report.
also you can you use runtime dataset like this: http://www.c-sharpcorner.com/UploadFile/saj/CrystalReports03192006090510AM/CrystalReports.aspx
来源:https://stackoverflow.com/questions/14105366/load-images-in-crystal-reports