我想在将表数据导出到excel表时添加text-transform属性 [英] i want to add text-transform property while exporting table data to excel sheet

查看:40
本文介绍了我想在将表数据导出到excel表时添加text-transform属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用html表,我在字段text-transform:capitalize上应用了css属性。当我将表导出到excel表时。它向我展示了所有小写字母。

如何在excel中提供相同的属性。

i希望在我的excel表格中显示相同的文字,因为它在网站上显示。



建议我做什么plz ..

i am using html table , i applied css property on fields text-transform:capitalize. and when i export table to excel sheet. it shows me all letter small.
how to implmnt same property in excel.
i want to show same text in my excel sheet as it is showing on website.

suggest me what to do plz..

推荐答案





如果要导出与gridview设计相同的样式,那么你需要在导出到Excel工作表时为其创建相同的代码。



我要求您通过以下链接;也许这将有助于您在导出时间时如何重新设计excel表格,如gridview。



http://www.aspsnippets.com/Articles/Export-GridView-to-Excel-in -ASPNet-with-Formatting-using-C-and-VBNet.aspx [ ^ ]



希望这个对你有帮助..
Hi,

If you want to export same styles as you have design for gridview then you need to make a code for the same while exporting into excel sheet.

I request you to please go through the below link; may be this will helpful to you how to redesign excel sheet same like gridview while exporting time.

http://www.aspsnippets.com/Articles/Export-GridView-to-Excel-in-ASPNet-with-Formatting-using-C-and-VBNet.aspx[^]

Hope this will helpful to you..


这篇关于我想在将表数据导出到excel表时添加text-transform属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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