Home > Net >  Read Excel data in the DataTable, only 1 column data, delete the last line of the original table dat
Read Excel data in the DataTable, only 1 column data, delete the last line of the original table dat

Time:09-20

Read the data code is as follows:

Direct operation result is as follows:

Delete the original table after the last line of data operation result is as follows:

Don't understand

CodePudding user response:

That should be the last line of the second column after the data has a problem, each cell validation, see where is problem

CodePudding user response:

To remove the second column to column data 11, reads, might have some other columns data

CodePudding user response:

Because it is a processing system tables, multiple export different tables are not, give up now excelReader, use ExcelPackage were normal
  •  Tags:  
  • C#
  • Related