Quantcast
Channel: NPOI
Viewing all articles
Browse latest Browse all 1621

New Post: Cell is locked when I write to an existing sheet

$
0
0
Hi, I hope quickly for an answer.
I have the following code:
                HSSFSheet ws = (HSSFSheet)wb.GetSheet(Maanden[maand-1]);
                var nextRow = StartRij-1;
                HSSFRow row = (HSSFRow)ws.CreateRow(nextRow);
                       row = (HSSFRow) ws.CreateRow(colum++);

                        row.CreateCell(rij++).SetCellValue(Datarow["Datum"].ToString());

                        row.CreateCell(rij++).SetCellValue(Datarow["Factuurnummer"].ToString());
                        row.CreateCell(rij).SetCellValue(Datarow["Omschrijving"].ToString());
After writing the cells are locked, can't edit anymore

Please help

Rinaldo

Viewing all articles
Browse latest Browse all 1621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>