直接赋值不行呀
光阴似箭催人老,日月如移越少年。
cell = row.createCell(index);cell.set...
When cell is null, the object does not exist and of course cannot be assigned a value. You must first create the cell and then call the set method of the cell
Is it okay to directly assign string s='';cell.setcellvalue(s);?
cell = row.createCell(index);
cell.set...
When cell is null, the object does not exist and of course cannot be assigned a value. You must first create the cell and then call the set method of the cell
Is it okay to directly assign string s='';cell.setcellvalue(s);?