473,941 Members | 28,050 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

formatted Excel Report

I've seen examples of this in classic asp - but there is probably an easier
way to do this. I have a client that wants 'downloadable' excel spreadsheet
reports - i do not have control over my web server so i cannot use the Excel
object model or SQL Reporting, Crystal, etc. The classic asp solution works
like this. 1) Insert your data into a office 2003 Excel worksheet - format it
and save it as XML. 2) Open it up in a text editor and strip out META data
about author, etc. save the Style only tags somewhere - like your SQL server.
3) configure your asp page to set the mime type (content) and open the
recordset. 4) push it to the web page while applying your style sheet.
(somehow). Are there any tools to help do this - rip out the embedded style
of an excel worksheet - making a template? Does anyone have a simple example
of how to do the rest of this in 1.14 framework with vb code behinds? I need
to format this data to look good - plus add Sums on colums - insert hard page
breaks at groupings, etc.
Frank Kirchner
Programmer Analyst
Regional Development
SYSCO Corp.
Jun 28 '06 #1
1 1401
Reply to my own request - I found an excellent example it works - i'm having
trouble however tweaking the xslt file to match my own needs. Anyway here is
the link. http://support.microsoft.com/default...b;en-us;319180

--
Frank Kirchner
Programmer Analyst
Regional Development
SYSCO Corp.
"frankkirch ner" wrote:
I've seen examples of this in classic asp - but there is probably an easier
way to do this. I have a client that wants 'downloadable' excel spreadsheet
reports - i do not have control over my web server so i cannot use the Excel
object model or SQL Reporting, Crystal, etc. The classic asp solution works
like this. 1) Insert your data into a office 2003 Excel worksheet - format it
and save it as XML. 2) Open it up in a text editor and strip out META data
about author, etc. save the Style only tags somewhere - like your SQL server.
3) configure your asp page to set the mime type (content) and open the
recordset. 4) push it to the web page while applying your style sheet.
(somehow). Are there any tools to help do this - rip out the embedded style
of an excel worksheet - making a template? Does anyone have a simple example
of how to do the rest of this in 1.14 framework with vb code behinds? I need
to format this data to look good - plus add Sums on colums - insert hard page
breaks at groupings, etc.
Frank Kirchner
Programmer Analyst
Regional Development
SYSCO Corp.

Jun 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3864
by: Spacy | last post by:
Am creating a HTML Report in asp.net. To save this report to excel on client-side, i write this code: Response.ContentType = "application/vnd.ms-excel" Response.AddHeader("content-disposition", "attachment; filename=Report.xls") But once the report is saved in excel, on click of hyperlink for second html report, i dont get the second report. the same old first html report is displayed. Please can anyone help me. Am frustrated with...
0
1531
by: hank755_ca | last post by:
Hello, I have a report in Access which I want to export to Excel with the formatting intact. The formatting is rather complex with several headings and fields with borders. I have tried the "Analyze This" command but the formatting is totally lost. Is there a way I can save as much of the formatting as I can? Are their third party software that can do this?
4
3141
by: .NETUser | last post by:
Hello, I am doing research on printing in VB.NET and I would like to know how I can use XML to format three different reports. I'm new to this, so I don't know how to include this in my .NET code. Would someone point to a location where I can get more information? Thanks
0
14440
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may be greater than 255 characters. 2. I have an access database. I link (not import) to the contents of the excel spreadsheet. In the design view in access, Column A has the data type "memo".
4
3356
by: somanyusernamesaretakenal | last post by:
What I am trying to achieve: Basically I have generated a report in access. This report needs to be updated using excel. (Updating the new data, not changing existing data) What I did was I imported the existing report into Excel (Tools – Office Links – Analyze It with MS Excel). Then I linked the report to the Excel file. (File – Get External Data – Link tables) and a link table was automatically generated. I wanted to test the link,...
1
3058
by: Sport Girl | last post by:
Hi everybody , i have the task of developing in Perl a script that retrieves data from 3 tables ( bugs, profiles, products) from a MySQL database called bugs and display them in an excel sheet report. I always get when trying to test it " 500 Internal Server Error - The server encountered an internal error or misconfiguration and was unable to complete your request." Can somebody help me please.
6
8081
by: Eddie | last post by:
Hi all, I am displaying a number of reports, and giving the users an option to display them on the web or download them to Excel. If they want the Excel file, I just use the PHP header command to change the Content- Type and Content-Disposition headers, and essentially print the same report, and it's done. That works fine. But in some reports on the web I need to show images. The web part is fine, but I'm having a tough time...
2
5348
by: ezra | last post by:
I have an access report based on a bunch of queries that does a quarterly summary of some research related stats. Now my boss wants this report to export into excel based on a specific format she has developed. This formatted excel sheet also needs to keep all previous quarters information stored in it and just add subsequent quarters. I don't know where to start!
2
6433
hemantbasva
by: hemantbasva | last post by:
Note We need to have a template on server for generating report in multiple sheet as we do not had msoffice on server moreover this require a batch job to delete excel file created by the method.... it creates 6 sheets # region Namespaces using System;
0
9964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11530
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11113
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10659
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8218
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7389
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4908
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4450
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3507
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.