惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
罗磊的独立博客
T
The Blog of Author Tim Ferriss
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
Last Week in AI
Last Week in AI
美团技术团队
Google Online Security Blog
Google Online Security Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
Docker
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
月光博客
月光博客
L
LINUX DO - 最新话题
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
W
WeLiveSecurity
H
Heimdal Security Blog
Vercel News
Vercel News
SecWiki News
SecWiki News
Forbes - Security
Forbes - Security
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
TaoSecurity Blog
TaoSecurity Blog
T
Troy Hunt's Blog
A
About on SuperTechFans
C
Check Point Blog
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
AI
AI
WordPress大学
WordPress大学
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Help Net Security
Help Net Security
博客园_首页
The Last Watchdog
The Last Watchdog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Engineering at Meta
Engineering at Meta
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
I
Intezer
K
Kaspersky official blog
M
MIT News - Artificial intelligence
J
Java Code Geeks
G
GRAHAM CLULEY
P
Palo Alto Networks Blog

博客园 - 红色石头

删除表中多余的重复记录 c#里正则表达式的例子 Javascript中定义类 - 红色石头 - 博客园 castle实例分析(二) castle实例分析(一) url传递中文的方法 - 红色石头 - 博客园 水晶报表中设定每页显示的行数 服务器控件Table的使用 asp.net2.0中关于ASP.NET 网站管理工具无法连接sql server 数据库的处理 转载一张有趣的图片 动态添加用户控件和服务器控件(二) 动态添加用户控件或服务器控件(一) XML格式的字符串和DataSet之间的相互转换 SQL Server2005关于web服务的配置 在VS2005中用C#写存储过程 控制模版列的文本框在编辑时只读 控制模版列的文本框只能输入数字并且禁止粘贴 利用.net正则表达式化繁为简的一个实例 利用SqlServer2005的新增函数实现更高效的分页存储过程
水晶报表中动态显示图片
红色石头 · 2008-05-23 · via 博客园 - 红色石头

水晶报表中动态显示图片

1、在原有xsd的架构上增加一列imgdata,数据类型为Base64Binary;
2、生成项目,重新指定报表数据源,将imgdata字段放入报表的相应位置;
3、代码中,生成数据集时,查询语句在原来的查询语句基础上增加一个空一字段imgdata
如:select ....,cast(null as image) as imgdata from....,
4、处理数据集,foreach(DataRow row in MyDataSet.Tables.Rows)
{Read(buff, 0, buff.row["imgdata"] =buff;
5、加载报表CrystalReport1 rpt = new CrystalReport1();rpt.SetDataBase(MyDataSet);
this.CrystalReportViewer1.ReportSource=rpt;

posted on 2008-05-23 16:01  红色石头  阅读(1197)  评论(0)    收藏  举报