1

I am creating a excel file by closedxml. I am able to set its cell value as shown below.

worksheet.Cell(rowPosition, cellPosition).Value="abc";

What I need is to set an Id of that cell which relates to its value and which is not visible to user. So when I again read this excel file programatically I can use this Id filed as Id is unique for me but not text.

Thanks in advance

4

2 に答える 2

2

固有のものまたは Id については、Cell 番号 Ex: A1 を Id の代わりに使用できますが、実際にはそうではありません。これは表示されますが、ClosedXML プロパティではプロパティ ID を使用できないため、ID と比較して機能します。

于 2015-10-24T07:40:03.697 に答える