Passing C# variables to Crystal Reports programmatically
I am using Crystal Reports to create a pretty PDF of a text document with client data in it. What I need to do is pass the job number from the C# code to Crystal Reports so I can put it on top of the PDF docu开发者_Go百科ment. I have tried a few things that I found on the internet, but to no avail. Anyway to do this? Thanks.
Why not disclose what you have tried so far and how you have implemented.
If you use crystal report doc object, you can pass on a lot of things, including the conditions. One of the easiest thing is the report parameters. You can capture your inputs using parameter. The other ones include setting report header etc. So once you disclose how you are doing things, I am pretty sure, you shall get the rest of the things very easily.
精彩评论