fallow these steps to view an image in Chrystal report.
1.Insert a picture box in crystal report at design time.
2.In data set a column name Photo
3.Sett this column properties data type to
System.Byte[]
which have blank at design time.its only for add link at design time from field explorer.
4.In cs file add also a column named Photo with data type
System.Byte[]
which have fill the data set which have bind to your Chrystal report.
ds.Tables[0].Columns.Add("Photo", System.Type.GetType("System.Byte[]"));
FileStream fs = new FileStream(PHotoPath, System.IO.FileMode.Open, System.IO.FileAccess.Read);
byte[] Image = new byte[fs.Length];
fs.Read(Image, 0, Convert.ToInt32(fs.Length));
fs.Close();
ds.Tables[0].Rows[0]["Photo"] = Image;
5.Finally set your data sources u do usually.
Logic behind is that we add a data set column with our record.