How remove this exception

double
double
variable are of string type. How to remove this error?

Hi @mhk15,

Try changing the variable type to GenericValue variable. after fetching the value you can change into string variable if you want.

Regards,
Arivu :slight_smile:

3 Likes

Thanks it worked

while fetching date from excel sheet and displaying them in message box it is showing an error:
objref

Hi @mhk15,

The value is NULL so its throwing the exception.

Try to Convert the value to string First.
Convert.ToString(yourGenericValue)

Regards,
Arivu :slight_smile: