从gridview填充数据后重命名excel中的列名称
我有一个网格视图仪表板。我有一个按钮可以将 gridview 数据导出到 excel,它已经工作正常了。唯一的问题是列名对用户不友好,我想在从网格视图填充数据时更改它。
gridview的列名根本没有出现在excel中。它只是读取数据表中的列名称。
请帮忙。
提前致谢, 雷霆摇滚
I have a dashboard which is a gridview. I've a button to export the gridview data to excel which is already working fine. The only problem is that the column names are not user friendly and I want to change it while populating the data from the gridview.
The column name of the gridview is not coming to the excel at all. It's just reading the column names as which is there in the datatable.
please help.
Thanks in advance,
ThunderRock
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论