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

Commented Issue: Couldnot delete worksheet [11376]

$
0
0
I am trying to delete first sheet from excel file like below
_Worksheet _wsh = (_Worksheet)shs.get_Item(1);
_wsh.Delete();
But it throws error. Am i doing something wrong pls guide.
Comments: ** Comment from web user: gpsushil **

I have posted exception detail above. Pls guide me on this. I even tried
hssfworkbook.Workbook.RemoveSheet(0);
but no success


Viewing all articles
Browse latest Browse all 1621

Trending Articles