How to store data if column name is null?

Hi @Dorothy_lee

Please check this thread to add column header. Replace the square brackets to round brackets

Or otherwise provide the column index, which starts at 0 instead of column name - Convert.ToString(row.Item(0))

2 Likes