I have been trying to upgrade my VMware ESX host but have failed miserable so far. I want to upgrade the VMware ESX host to 4.0u2. I have been trying hard to achieve this via VMware vSphere Host Update Utility. However every time I receive the error as listed below.
Error
Input String was not in a correct format.
Kindly help!
Error Message while upgrading VMWare ESX Host
Hello Patricia,
It is not possible to convert a null value to a meaningful value through Convert. And therefore the best thing to do in your case will be to check for null first and then after that you can go ahead and assign a value of 0 to the result.
But you might not be even be getting a null value. Check if your gird is DataGridViewCell, for if that is the case then it will probably return the type to you in ToString(). You should be getting the Value property instead. In the event that the gridCol1 represents the actual value then your code is correct.
Regards,
Carl