?
Solved

Export Data to excel sheet and format the data

Posted on 2009-04-08
1
Medium Priority
?
290 Views
Last Modified: 2012-05-06
Hi,

How can I export data to excel sheet and then style the excel sheet.

        If Page.IsPostBack Then

            dsUsers = df.ExeDBCmdParamReturnDS("rpt_Detail_General_Ledger_User", _
            df.MakeParam("@Acct", TxtAccount.Text, SqlDbType.Char, 10), _
            df.MakeParam("@SubAcct", TxtSub.Text, SqlDbType.Char, 24), _
            df.MakeParam("@PerEnt", TxtDate.Text, SqlDbType.Char, 6), _
            df.MakeParam("@SortBy", DLSort.Text, SqlDbType.Char, 24))

'here I have to export the data from the stored procedure to the excel sheet.


        End If
0
Comment
Question by:lulu50
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 16

Accepted Solution

by:
sunithnair earned 1500 total points
ID: 24098866
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 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