C#: How to access an Excel cell?

后端 未结 7 1123
忘掉有多难
忘掉有多难 2020-12-05 18:25

I am trying to open an Excel file and populate its cells with data? I have done the following coding so far.

Currently I am at this stage with the following code but

7条回答
  •  隐瞒了意图╮
    2020-12-05 19:02

    I think, that you have to declare the associated sheet!

    Try something like this

    objsheet(1).Cells[i,j].Value;
    

提交回复
热议问题