如何在Crystal Report中显示HTML表格 [英] How to display html table in crystal report

查看:62
本文介绍了如何在Crystal Report中显示HTML表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个水晶报表,该报表显示带有HTML标签的存储在数据库中的数据.
数据库字段类型为ntext.

如果数据是

客户

然后以粗体显示客户".

如果数据是

I have created a crystal report that display data which is stored in database with HTML tags.
Database field type is ntext.

If the data is

Customer

then it displays Customer in Bold.

If the data is

<table border=2>
<tr>
<td>ID</td>
<td>Product</td>
</tr>
<tr>
<td>001</td>
<td> Ink Jet Printer</td>
</tr>
</table>



它显示HTML:

ID 产​​品
001 喷墨打印机打印机


它显示CrystalReport:
证件产品
001喷墨打印机

它不显示表格边框

如何显示带有表格边框的数据

请建议



it displays HTML:

IDProduct
001 Ink Jet Printer


it displays CrystalReport:
ID Product
001 Ink Jet Printer

it does not shows table border

How can i show data with table border

Please suggest

推荐答案

似乎Crystal Reports不支持表标记.检查此链接.
It seems table tag is not supported in Crystal Reports. Check this Link.


您可以通过使用线和框工具手动进行设计,
You can design manually by using line and box tool ,



试试这篇文章:是否可以在Crystal Reports中显示HTML? [
Hi,
Try this post : Possible to display HTML with Crystal Reports?[^]



--Amit


这篇关于如何在Crystal Report中显示HTML表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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