Wrox Programmer Forums
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 24th, 2007, 03:42 PM
Authorized User
Join Date: Jan 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default DataTable 2 HTML TABLE

How to convert DataTable to HTML Table so that it can be part of email.

Old July 25th, 2007, 09:15 PM
Friend of Wrox
Join Date: Feb 2006
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts

Can you elaborate more on what you are trying to do?

Are you trying to display the contents of a DataTable in a web form?
Old January 25th, 2011, 03:15 AM
Authorized User
Join Date: Apr 2008
Posts: 54
Thanks: 0
Thanked 4 Times in 4 Posts
Default use server.execute

Originally Posted by pzmrcd View Post
How to convert DataTable to HTML Table so that it can be part of email.
You may create a new page with the data and design as you wish. Then
  • use the server.execute to get the HTML output of the page.
  • Use that as the html content for the email.
  • Dont forget to change the email mode to accept html tags
hope that helps
Pon Saravanan

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on generating HTML table please!! minhnghia XSLT 5 September 2nd, 2007 12:35 PM
Dynamic HTML table bonekrusher XSLT 3 September 23rd, 2006 01:27 PM
XSL table to HTML ayamas XSLT 10 September 11th, 2006 06:45 AM
HTML Table. rupen HTML Code Clinic 5 March 9th, 2006 08:51 PM
HTML Table p2pMember ASP.NET 1.0 and 1.1 Basics 1 November 9th, 2005 02:51 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.