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

推荐订阅源

有赞技术团队
有赞技术团队
Security Archives - TechRepublic
Security Archives - TechRepublic
大猫的无限游戏
大猫的无限游戏
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
Vercel News
Vercel News
U
Unit 42
L
LangChain Blog
M
MIT News - Artificial intelligence
S
SegmentFault 最新的问题
月光博客
月光博客
MongoDB | Blog
MongoDB | Blog
Jina AI
Jina AI
博客园 - 聂微东
H
Hackread – Cybersecurity News, Data Breaches, AI and More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Recent Announcements
Recent Announcements
Engineering at Meta
Engineering at Meta
Hacker News - Newest:
Hacker News - Newest: "LLM"
V2EX - 技术
V2EX - 技术
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
阮一峰的网络日志
阮一峰的网络日志
F
Fortinet All Blogs
D
DataBreaches.Net
Hacker News: Ask HN
Hacker News: Ask HN
W
WeLiveSecurity
N
News | PayPal Newsroom
量子位
Help Net Security
Help Net Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
S
Security @ Cisco Blogs
Y
Y Combinator Blog
H
Heimdal Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Stack Overflow Blog
Stack Overflow Blog
Attack and Defense Labs
Attack and Defense Labs
S
Secure Thoughts
P
Privacy International News Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
SecWiki News
SecWiki News
Last Week in AI
Last Week in AI
AI
AI
Recorded Future
Recorded Future
C
Cyber Attacks, Cyber Crime and Cyber Security
Microsoft Security Blog
Microsoft Security Blog
P
Privacy & Cybersecurity Law Blog

博客园 - 振河

SQL Server 2005 Reporting Services动态设置数据源 在windows 2008 server 中Password must meet complexity requirements VS2005 中控件的 GenerateMember 属性 WCF 安全之自定义的用户名/密码身份验证 Visual Studio 2008 开发WPF应用程序系列文章——window class 之间的继承 Visual Studio 2005 开发WPF应用程序系列文章——什么是WPF 配置 SQL Server 2005 远程调试存储过程 (转载) C# Office编程——Word 错误类型:“系统找不到 Microsoft.Office.Interop.Word" Reporting Service 在文本框中换行的问题 数据库范式设计 JavaScript 用DIV模拟弹出窗口并跟随窗体滚动 SQL Server 2000 占内存居高不下可能的原因及其解决方法 轻松移除VS2005解决方案中的VSS绑定信息 使用ComponentOne 中 C1TrueDBGrid 实现Master-Detail Grid Reporting Services 运行时设置报表的Page Header的大小 朋友,5.1节日快乐 SQL Server 2005 Reporting Services 报表中随意格式化日期的方法 SQL Server 2005 Reporting Services的一个bug及其解决方法 SQL Server 2005 Reporting Services 在排版上存在的一个问题
SQL Server 2005 Reporting Services 使用C#类库中的函数方法
振河 · 2007-03-19 · via 博客园 - 振河

1 首先准备一个普通的类库,里面有Reporing 需要的方法,方法的定义如下:

            public static string 函数名称(参数)
            {}

2 把类库编译成一个dll

3 把dll拷贝到一下三个目录:

C:\Program Files\Microsoft SQL Server\MSSQL.4\Reporting Services\ReportManager\Bin
C:\Program Files\Microsoft SQL Server\MSSQL.4\Reporting Services\ReportServer\bin
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies

4 在报表中使用自定义函数:
         Visual Studio中找到Report menu——〉Report Properties。。。——〉References 添加引用

5 使用Code:名称空间.类名称.函数名称(参数)

6 OK