How to add Image, from Path in RDLC Report -
helllo, how add image path in rdlc report?? in database image name saved.
and reporting code that
{ 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(); }
check below links. explain how images add in rdlc report. video contain demo of works
https://www.youtube.com/watch?v=rxs323bldfs
http://easyprogrammingtechniques.blogspot.in/2014/02/how-to-add-image-in-rdlc-report.html
Comments
Post a Comment