Gitteng Data from SQL server (SP) Pivot query and Display it oN Excel sheet Using Pivot table and pivot chart

Posted on 2005-04-27
Last Modified: 2008-02-26
Hi , I want to bring a data from SQl server stored procedure , the data should be presented as (Cross tab) report on the excel sheet ,the rows and the columns for this report is dynamic , Is this Coding possible ? How I pass the parameters to the (SP) and bring it to the excel sheet?

I need C# that do this function?
Question by:mubama0n
    LVL 18

    Accepted Solution


    Author Comment

    Ok , I have the stored procedure query (cross tab) but What about the code that send this data into excel sheet , I mean If you open an excel sheet then choose from the menu (Data --> choosing pivot table and pivot chart report) then going through the wizard , how I do by code sending the data from the (SP) to excel sheet?

    Author Comment

    The Solution Is not completed enough , I'll give you the mark for bringing a crosstab data , but bring it to the excel sheet you didn't provide any thing about it.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now