I am creating PDF's using ITextSharp and Stored procs. I have a stored proc in place that calulates the totals of two columns

SELECT SUM (Time) AS TotalTime, SUM (Cost) AS TotalCost
    From dbo.Records
    WHERE CustNum = @p_CustNum

When i run the stored proc it returns the two answers.

However I need to print the two results on a PDF report and I am not sure how to do this in C#. Any help would be great.

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.