【紧急求助】读取Excel时列的名称过长,导致列名被截掉,根据列名取数据时出错
使用OleDB读取Excel文档中的数据,将数据填充到DataSet中。使用DataTableReader读DataSet中的数据时,发现因为Excel源文件中有一列的列名为“Number of the entity (conformance check) (note:the auxiliary value included while BEGIN and END excluded)”,而在DataTable中对应的列名成了“Number of the entity (conformance check) (note:the auxiliary val”,导致我根据列名读数据时出错,请专家帮忙看看如何解决?使用列索引肯定不行,因为一定要使用列名称来读取数据。