473,385 Members | 2,180 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,385 software developers and data experts.

Gridline missed in ASP generated Excel

Dear All,

I have writing a ASP that export an Excel file by using response.contentType
= "application/vnd.ms-excel"
I can export an Excel

However, the grey color gridline is missed, how can I display it again?
I won't draw table and set it's border = 1 since there have up to 65536 row
in Excel....

Thanks~
Jul 19 '05 #1
3 1910
Since you are simulating a Excel file, and not writing a real Excel file,
you can not control any properties that you would control with traditional
Excel files. However, if you are writing the file as a table, try changing
border colors, that usually makes a difference

<table bordercolor="#000000">
</table<

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Utada P.W. SIU" <wi******@hotmail.com> wrote in message
news:Oc**************@TK2MSFTNGP09.phx.gbl...
Dear All,

I have writing a ASP that export an Excel file by using response.contentType = "application/vnd.ms-excel"
I can export an Excel

However, the grey color gridline is missed, how can I display it again?
I won't draw table and set it's border = 1 since there have up to 65536 row in Excel....

Thanks~

Jul 19 '05 #2
From what I know about the topic -- no. Since Excel supports many rows (I
think 65,000+) and your table is limited, the only way to color beyond the
data is to actually have that many table rows.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Utada P.W. SIU" <wi******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi Kamath,

Thanks for your help. I know using bordercolor property can control the
border color of table
However, can I control the border outside the table, please refer to
attachment. Thanks

Jul 19 '05 #3
o....thanks~ i just want to verify it cannot
Thanks
^.^
Jul 19 '05 #4

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

Similar topics

2
by: Ken Ingram | last post by:
Is there a way to change gridline colors in an ASP.Net DataGrid? Have been trying bordercolor properties at various levels without success. Thanks, Ken
2
by: Tracey | last post by:
I used the following code to get rid of gridline of datagrid1. However, the gridline are still there. Can someone tell me what's wrong with that? Dim tablestyle as new tablestyle with...
2
by: Tracey | last post by:
Hi, there My application needs a datagrid with no gridline displayed.If the datagrid is dragged into a winform, we can easily set the gridlinecolor to be the same as datagrid's background color...
1
by: Lonewolf | last post by:
hi all, just want to find out if it is possible to set the gridline of individual cell in a listview using C#. Reason for this is I need to have a listview which has fixed number of columns and...
6
by: gerry.brennan | last post by:
Hi is there a way to change the color of the vertical gridline in a datagrid or listview
2
by: ruthboaz | last post by:
Hi, I am creating the following query during run-time. Dim ctl As Control Dim varItem As Variant Dim strSQL As String Dim stDocName As String
0
by: sradoff | last post by:
I wish to use XPath to access data from within an Excel generated XML Spreadsheet (generated with MS Excel 2003). I am using an asp Web page (not .NET, not at this time). I instantiate...
4
by: MangroveRoot | last post by:
A few years ago, I worked on a project in which I designed some tables, queries, forms, and reports. I'm reasonably certain that when I was designing the forms for that project, I set the...
2
by: Kevin G. | last post by:
Hello, I'm exporting an ASP page to Excel using 'Response.ContentType = "application/vnd.ms-excel"' and it is working fine for the most part except the particular page I'm exporting has images,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.