如何使用response.write从asp.net创建excel时显示excel网格线? [英] How to show the excel gridlines when creating excel from asp.net using response.write?

查看:52
本文介绍了如何使用response.write从asp.net创建excel时显示excel网格线?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我已经设法从asp.net创建并打开excel文件,但

我的问题是,当它打开,excel文件的网格线

被隐藏。



如何使用C#自动显示来自asp.net的网格线?



谢谢,

Hi,

I''ve managed to create and open excel file from asp.net but
my problem is that when it open, the gridlines of the excel file
are hidden.

How can i automatically show the gridlines from asp.net using C#?

thanks,

推荐答案

第3个答案可能对您有所帮助 [ ^ ]


那里是ShowGridLines属性。这个属性被defalult设置为FALSE并且不显示网格线。

要显示网格线,必须将属性设置为TRUE。



http://www.w3schools.com/aspnet/prop_webcontrol_calendar_showgridlines。 asp [ ^ ]
There is ShowGridLines Property. This property is set as FALSE by defalult and the grid lines are not displayed.
To show the grid lines the property must be set as TRUE.

http://www.w3schools.com/aspnet/prop_webcontrol_calendar_showgridlines.asp[^]


这篇关于如何使用response.write从asp.net创建excel时显示excel网格线?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆