nafees khan

nafees khan

  • NA
  • 197
  • 1.8k

picture in picture object using path in crystal report

Jun 17 2016 1:13 AM
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 

Answers (2)