Solved

Export Data to excel sheet and format the data

Posted on 2009-04-08
1
283 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 500 total points
ID: 24098866
0

Featured Post

Technology Partners: 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

Suggested Solutions

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

736 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