数据到HTML [英] Datatable to HTML

查看:74
本文介绍了数据到HTML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种简单的方法可以将数据表的内容转换为HTML

表。

我有一个包含多个数据表的数据集,我需要能够

将所有数据插入到html电子邮件中。

我可以循环遍历每个数据表的行,但是认为可能有更简单的方法

a 。


TIA

-


Alphonse Giambrone

电邮:a- gim at customdatasolutions dot us

Is there a simple way to convert the contents of a datatable to an HTML
table.
I have a dataset containing multiple datatables that I need to be able to
insert all the data into an html email.
I could loop through the rows of each datatable, but thought there might be
a simpler method.

TIA
--

Alphonse Giambrone
Email: a-giam at customdatasolutions dot us

推荐答案

是的,这就是DataGrid的全部内容。


Eliyahu


" Alphonse Giambrone" < NO ********** @ example.invalid>在留言中写道

news:uc ************** @ tk2msftngp13.phx.gbl ...
Yes, this is what DataGrid is all about.

Eliyahu

"Alphonse Giambrone" <NO**********@example.invalid> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...
有没有简单的方法将数据表的内容转换为HTML
表。
我有一个包含多个数据表的数据集,我需要能够将所有数据插入到html电子邮件中。
我可以循环遍历每个数据表的行,但认为可能
是一种更简单的方法。

TIA
-

Alphonse Giambrone <电子邮件:a-giam at customdatasolutions dot us
Is there a simple way to convert the contents of a datatable to an HTML
table.
I have a dataset containing multiple datatables that I need to be able to
insert all the data into an html email.
I could loop through the rows of each datatable, but thought there might be a simpler method.

TIA
--

Alphonse Giambrone
Email: a-giam at customdatasolutions dot us



如果你不喜欢,你也可以使用重量更轻的DataList Control需要

分页。


-

HTH,

Kevin Spencer
..Net开发人员

Microsoft MVP

跟随者既不是b $ b也不是贷款人。

" Eliyahu Goldin" <再************* @ monarchmed.com>在留言中写道

新闻:ua ************** @ TK2MSFTNGP10.phx.gbl ...
You can also use the lighter-weight DataList Control, if you don''t need
paging.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:ua**************@TK2MSFTNGP10.phx.gbl...
是的,这就是DataGrid就是这样。

Eliyahu

Alphonse Giambrone < NO ********** @ example.invalid>在消息中写道
新闻:uc ************** @ tk2msftngp13.phx.gbl ...
Yes, this is what DataGrid is all about.

Eliyahu

"Alphonse Giambrone" <NO**********@example.invalid> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...
有没有一种简单的方法来转换内容一个数据表到HTML
表。
我有一个包含多个数据表的数据集,我需要能够
将所有数据插入到html电子邮件中。
我可以循环通过每个数据表的行,但认为可能
Is there a simple way to convert the contents of a datatable to an HTML
table.
I have a dataset containing multiple datatables that I need to be able to insert all the data into an html email.
I could loop through the rows of each datatable, but thought there might


一个更简单的方法。

TIA
-

Alphonse Giambrone
电子邮件:a-giam at customdatasolutions dot us
a simpler method.

TIA
--

Alphonse Giambrone
Email: a-giam at customdatasolutions dot us




感谢您的快速回复。

您想分享一下吗?


-


Alphonse Giambrone

电子邮件:a-giam at customdatasolutions dot us

" Eliyahu Goldin" <再************* @ monarchmed.com>在留言中写道

新闻:ua ************** @ TK2MSFTNGP10.phx.gbl ...
Thanks for the quick response.
Would you care to share how?

--

Alphonse Giambrone
Email: a-giam at customdatasolutions dot us
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:ua**************@TK2MSFTNGP10.phx.gbl...
是的,这就是DataGrid就是这样。

Eliyahu

Alphonse Giambrone < NO ********** @ example.invalid>在消息中写道
新闻:uc ************** @ tk2msftngp13.phx.gbl ...
Yes, this is what DataGrid is all about.

Eliyahu

"Alphonse Giambrone" <NO**********@example.invalid> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...
有没有一种简单的方法来转换内容一个数据表到HTML
表。
我有一个包含多个数据表的数据集,我需要能够
将所有数据插入到html电子邮件中。
我可以循环通过每个数据表的行,但认为可能
Is there a simple way to convert the contents of a datatable to an HTML
table.
I have a dataset containing multiple datatables that I need to be able to insert all the data into an html email.
I could loop through the rows of each datatable, but thought there might


一个更简单的方法。

TIA
-

Alphonse Giambrone
电子邮件:a-giam at customdatasolutions dot us
a simpler method.

TIA
--

Alphonse Giambrone
Email: a-giam at customdatasolutions dot us




这篇关于数据到HTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆