how to display picture in picture object using path in crystal report

viratvirat jaipur
edited June 2016 in C#

What I have tried:

public class studentlist
public string Photopath1 { get; set; }
var query = (from b in db.User_Students_Registration select new { b.Photopath});
if (query.Count() > 0)
foreach (var a in query)
Pictureobject p=(Pictureobject)cr.ReportDefinition.Sections ["Section3"]ReportObjects["rptStudentDetailstext1"];
p.Picture = a.Photopath;
//This Code is For Displaying Image From Database Using Path in Crystal Report.
//But My image Not Display in Picture object Please Help Me

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!