System.IO.MemoryStream ms = new System.IO.MemoryStream(); Chart1.SaveImage(ms, ChartImageFormat.Jpeg); Attachment imgAtt = new Attachment(ms, "image/Jpeg"); imgAtt.ContentId = "DayChart.Jpeg"; mail.Attachments.Add(imgAtt);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)