将gridview转换为.xls [英] convert gridview to .xls

查看:71
本文介绍了将gridview转换为.xls的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..,



我正在将网格视图数据转换为.xls格式。我将此csv文件存储在D://NAME.xls"中。但是当我打开name.xls时,会出现一个Text Import对话框。我的系统只有开放办公室。我怎么能避开这个屏幕?

Hi..,

I am converting grid view data to .xls format. I stored this csv file in "D://NAME.xls". But When I open the name.xls a Text Import dialog appears. My system has open office only.How can I avoid this screen??

推荐答案

你有两个选择......



将文件存储为D:\NAME。 CSV (参见Richard macCutchan的评论)







以XLS格式保存数据 - 有关详细信息,请参阅此CP文章将数据表导出到与MS-Office和Open-Office兼容的XLS / CSV [ ^ ]
You have two choices ...

Either store the file as D:\NAME.CSV (See the comment from Richard macCutchan)

Or

Save the data in XLS format - see this CP article for more information Export datatable to XLS/CSV compatible with MS-Office and Open-Office[^]


这篇关于将gridview转换为.xls的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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