Excel在C#Windows应用程序的网格视图中上传 [英] Excel upload in Grid View in C# Windows application

查看:94
本文介绍了Excel在C#Windows应用程序的网格视图中上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我在数据网格视图中上传Excel表格。 Excel工作表中的All列是通用格式。在某些列中,特定单元格记录仅为数字,因此单元格显示空白的时间。所以我的问题是我应该为这种情况做些什么?



谢谢

Indrajit Dasgupta

Hi All
I am uploading Excel sheet in Data Grid View. The All columns in the excel sheet is general format. In some column the the particular cell record is only number so that time the cell is displaying blank. So my question is what should I do for this scenario?

Thanks
Indrajit Dasgupta

推荐答案

你应该知道< a href =http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/html/ExcelEngine_Retrieving_the_Cell_Text_as_Displayed_in_Excel.html>如何:检索Excel中显示的单元格文本(获取单元格文本) [ ^ ]。





希望它有所帮助!

- Amit




通过这个 -

进口数据从-Excel到datagridview的式-C-夏普/ [< a href =http://www.c-sharpcorner.com/uploadfile/ankurmee/import-data-from-excel-to-datagridview-in-C-Sharp/target =_ blanktitle =N ew Window> ^ ]


这篇关于Excel在C#Windows应用程序的网格视图中上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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