TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
abdelwaheb ammar
1.3k
457
124.8k
Display image in ReportViewer with a parameter
Nov 15 2016 1:49 PM
Good evening, I try to display an image in a reportViewer from a send path as a parameter.
Here is my code that I insert:
public
partial
class
PrintFiche : Form
{
public
PrintFiche()
{
InitializeComponent();
}
private
void
PrintFiche_Load(
object
sender, EventArgs e)
{
reportViewer1.LocalReport.ReportPath =
"D:\\workspace\\Report\\FichePersonne.rdlc"
;
ReportParameter lim =
new
ReportParameter(
"image"
,@
"C:\Documents and Settings\Mes images\Échantillons d'images\Collines.jpeg"
,
true
);
reportViewer1.LocalReport.EnableExternalImages =
true
;
reportViewer1.LocalReport.SetParameters(
new
ReportParameter[] {lim} );
this
.reportViewer1.RefreshReport();
}
}
But the result I get is an image in X form
what is the mistake in this code ?
Reply
Answers (
4
)
About video uploading into server and then play that video.
How Can i get the finger print data from my laptop in C# ?