[英]How Select specific merge columns from excel sheet using ole db c#
I want to get the red highlight RowColumn. 我想获得红色突出显示的RowColumn。 First column is made of single cell A4 and next is made of merge cells
第一列由单个单元格A4组成,第二列由合并单元格组成
[BCDE4],[FGHI4],[JKLM4],[NOPQ4],[RSTU4],[VWXY4]
("select * from ["+sheetname+"$A4:V4]", MyConnection);
Table goes here: 表在这里:
You can't. 你不能 OLEDB will return the underlying cells, so your data is in B4, F4, J4 etc despite how it appears on the screen.
OLEDB将返回基础单元,因此您的数据位于B4,F4,J4等位置,无论它如何出现在屏幕上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.