Using visual Studio ultimate 2012.
Im currently building a report to be printed in report viewer. so far i have a bunch of text boxes that Gets its values from my fo
public string ImageToBase64(Image image,
System.Drawing.Imaging.ImageFormat format)
{
using (MemoryStream ms = new MemoryStream())
{
// Convert Image to byte[]
image.Save(ms, format);
byte[] imageBytes = ms.ToArray();
// Convert byte[] to Base64 String
string base64String = Convert.ToBase64String(imageBytes);
return base64String;
}
}
Convert your image to base64 string and then pass it to your report as parameter and then set the Report image to this parameter.