reporting services - Vb.net Reportviewer not showing external image -


i have rdlc report in vb.net should parameter form load external image on drive. i've created paramater called reportparameterplaaskaart purpose. have set image on report external [@reportparameterplaaskaart] in 'use image" box. when run application runs without error, no image created on report. missing ?

my code follows :

   private sub parskaartjies_load(sender object, e eventargs) handles mybase.load      'todo: line of code loads data 'skeduleringdatabasisdataset.oesskattings' table. can move, or remove it, needed.     me.oesskattingstableadapter.fill(me.skeduleringdatabasisdataset.oesskattings)     txtaliasnaam.text = parskaartjiekiesfrm.cmbaliasnaam.selectedvalue     txtplaasnaam.text = parskaartjiekiesfrm.cmbplaasnaam.text     txtplaasno.text = parskaartjiekiesfrm.txtplaasno.text     txtdruk.text = parskaartjiekiesfrm.txtbladsyedruk.text     dim kaartplek string = "file:///c:\users\administrator\desktop\skedulering\grafieka\plaaskaarte\" & txtplaasno.text & ".tif"     msgbox(kaartplek)      dim param1 new reportparameter("reportparameteraliasnaam", txtaliasnaam.text)     dim param2 new reportparameter("reportparameterplaasnaam", txtplaasnaam.text)     dim param3 new reportparameter("reportparameterplaaskaart", kaartplek)     try         reportviewer1.localreport.enableexternalimages = true         me.oesskattingstableadapter.fill(me.skeduleringdatabasisdataset.oesskattings)         reportviewer1.localreport.setparameters(new reportparameter() {param1, param2, param3})         me.reportviewer1.refreshreport()      catch ex exception         messagebox.show(ex.tostring)     end try  end sub 

regards.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -