如何从Crystal报表文件中检索存储过程名称 [英] how to retrieve stored procedure name from a crystal report file
本文介绍了如何从Crystal报表文件中检索存储过程名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
希望你能在这方面帮助我.我有一个Crystal报表文件,我想知道报表上使用的存储过程的名称是什么.我所拥有的只是Crystal报表文件.
c#或vb中是否有代码来检索使用的SP?有可能吗?
TIA!
Hi Guys,
Hope you can help me on this. I have a Crystal Report File and I want to know what''s the name of the Stored Procedure that is being used on the Report. All I have is the Crystal Report File.
Is there a code in c# or vb to retrieve the SP being used? Is it possible?
TIA!
推荐答案
您可以使用数据库"类:
使用此类从报表中获取表的集合和TableLink的集合.通过ReportDocument对象的Database属性检索Database对象."
http://msdn.microsoft.com/en-us/library/ms225639%28v = VS.90%29.aspx [ ^ ]
You can use "Database" Class:
"Use this class to get the collection of Tables and the collection of TableLinks from a report. Retrieve a Database object through the Database property of the ReportDocument object."
http://msdn.microsoft.com/en-us/library/ms225639%28v=VS.90%29.aspx[^]
这篇关于如何从Crystal报表文件中检索存储过程名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文