Posted on: 4/25/2015 10:24:32 PM | Views : 634

Hi folks, I’m emailing a GridView and ListView.
How do you place a title above the ListView within the email body. I have the title Order Details above the Gridview and I would like to place a title above the ListView, thanks in advance.
GridView1.RenderControl(hw); StringReader sr = new StringReader(sw.ToString()); ListView3.RenderControl(hw); StringReader sr1 = new StringReader(sw.ToString()); MailMessage mm = new MailMessage(); mm.Bcc.Add(gra.Text); mm.Bcc.Add(Cus.Text); mm.From = new MailAddress("another@mail-address.com"); mm.Subject = "Thank you"; mm.Body = "Order Details:<hr />" + sw.ToString();

Go to the complete details ...