When i was reading the excel by using oledb C#, it is retrieving the data successfully. But when the sheet name contains #
, it does not reading the data. It gives the following error.
is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long.
I guess Oledb converting the #
char to .
.