更新时间:2022-12-10 08:00:23
如果我理解正确的问题,您可以尝试spreadsheet.WorkbookData.Tables[0].Columns[c.ToString()].Ordinal
,它返回列的位置
If I understood the question right, you might try spreadsheet.WorkbookData.Tables[0].Columns[c.ToString()].Ordinal
, which returns the position of the column