473,473 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Displaying Resultset output in Excel format in a NEW window

Hi,

I have written an ASP script that connects to a database
and runs a stored procedure and displays the results in
text format ...using the <TABLE> tag. But I would like to
have these results appear in a NEW Window in an Excel
format.

I used :

<%
Response.ContentType = "application/vnd.ms-excel"
Response.Buffer = true
Response.Clear
%>

This opens up Excel in the same window and usually does
not refresh my data ...even though the stored procedure is
actually running on the database server.

Please help!!

thanks.

Jul 19 '05 #1
1 3469
You can't open a new window in server-side code. It's just not possible. You
will need to use client-side code to achieve this. Please see a dhtml
newsgroup (or m/p/scripting.jscript).

Bob Barrows

Sushmita wrote:
Hi,

I have written an ASP script that connects to a database
and runs a stored procedure and displays the results in
text format ...using the <TABLE> tag. But I would like to
have these results appear in a NEW Window in an Excel
format.

I used :

<%
Response.ContentType = "application/vnd.ms-excel"
Response.Buffer = true
Response.Clear
%>

This opens up Excel in the same window and usually does
not refresh my data ...even though the stored procedure is
actually running on the database server.

Please help!!

thanks.


Jul 19 '05 #2

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

Similar topics

6
by: Sharon | last post by:
Hi! I'm trying to add an export option to my application. I use Javascript DOM to transform XHTML-tables displayed in the browser window to CSV-format (client-side) using a simple XSL. All works...
2
by: Joo Park | last post by:
Hello, i have an aspx page that displays data in tabular format. I'd like to change this page so that it outputs that same data into excel format. what needs to change in an aspx page to do...
1
by: shankumar | last post by:
Hai Evrybody, I have one problem, that is i design a ASP report getting data from MS SQL Server 2000 and displays it as a desinged format and also "one option to export this same format to MS...
13
by: David W. Fenton | last post by:
I've been struggling the last two days with something I thought was very easy, which is to open a web page with a form on it and populate the form with data passed in a query string (either POST or...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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...
0
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...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.