Posted on: 3/1/2014 12:11:46 PM | Views : 697

Hi,
I having grid with image column data, i want to send this grid with image using gmail smtp setting.
I have using below code , its sending mail but image was not showing in mail
public string GetGridviewData(GridView gv) { StringBuilder strBuilder = new StringBuilder(); StringWriter strWriter = new StringWriter(strBuilder); HtmlTextWriter htw = new HtmlTextWriter(strWriter); gv.RenderControl(htw); return strBuilder.ToString(); } public override void VerifyRenderingInServerForm(Control control) { /* Verifies that the control is rendered */ }

please give solution for this



Go to the complete details ...