473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ContentType Excelsheet Title

Hi!, I'm using

Response.ContentType="application/vnd.ms-excel"

to show an html table over excel sheet and I need to change the
excelsheet title, does anyone know how to do that?, now it's shows me
the name of the asp page.

Thank you.

Jun 1 '07 #1
2 1666
rguarnieri wrote:
Hi!, I'm using

Response.ContentType="application/vnd.ms-excel"

to show an html table over excel sheet and I need to change the
excelsheet title, does anyone know how to do that?, now it's shows me
the name of the asp page.

Thank you.
Create a test spreadsheet that does what you want. Convert it to html and
inspect the generated html to see what you have to include in your file to
make it do what you want.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jun 1 '07 #2

"rguarnieri" <ru***@hmstrategies.comwrote in message
news:11**********************@q66g2000hsg.googlegr oups.com...
Hi!, I'm using

Response.ContentType="application/vnd.ms-excel"

to show an html table over excel sheet and I need to change the
excelsheet title, does anyone know how to do that?, now it's shows me
the name of the asp page.

Thank you.
Response.AddHeader "Content-Disposition", "filename=myname.xls"

Jun 3 '07 #3

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

Similar topics

0
by: Lone | last post by:
Hi all, Im trying to stream an RealPlayer file to the client. In classis asp, the code was as such: <% Response.Buffer=True Response.ContentType="audio/x-pn-realaudio" %>...
1
by: vijay | last post by:
HI All, I want to print excelsheet from my application i am working on C#.net windows application . pls help me
2
by: manssi | last post by:
hii, i have created a macro in excel in windows vista and its running there perfectly and now i want to run this macro from a form in asp.net. how can i do this? actually my application...
0
by: srujanaindia | last post by:
how to check whether it is excelsheet or not and how to get data from sheet ie., how to read data from the path of file(ecxel sheet) i can wriite query like select * from but i require...
0
by: dellarocco | last post by:
'EXPORTS TABLE IN ACCESS DATABASE TO EXCEL Dim strExcelFile As String Dim strWorksheet As String Dim strDB As String Dim strTable As String Dim objDB As Database
5
by: sarangbagul1985 | last post by:
can anyone tell me how to import database from excelsheet to mysql using php (i.e. to transfer abc.xls to database)
1
by: jayakumarmaarga | last post by:
Hi, How to open Password Protected Excelsheet, I know password and i want to open that excelsheet by given this password and read the excelsheet values again post values to sql database.
3
by: nickyspace | last post by:
hello can anyone help me out how to convert picture into excelsheet
2
mageswar005
by: mageswar005 | last post by:
hi, I need one help, How can i Export the Datas from mysql to Excelsheet not csv in php coding.The excelsheet format should be comes under microsoft office excel spreadsheet format.i need all...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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...

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.