I have a situation where dividing by zero can't be avoided until the user enters a value into a textbox. My DGV formulated cell values need the textbox value to complete their math functions. Thus until that happens, "Infinity" populates the respective DGV cells...I read a few articles on how VS2010 handles this differently than earlier versions.
No problems with the code running in debug. The DGV cells show infinity until the required textbox data is input. Then all is well.
Question - Will there be compile issues if this is left not addressed?
Suggestions or pointers to links containing solutions to such situation would be appreciated.
I just don't see a way around it. The formulas are what they are and they can't be altered. Have thought about hiding the word infinity by masking the cell fore color with an if statement... thoughts on that?
No problems with the code running in debug. The DGV cells show infinity until the required textbox data is input. Then all is well.
Question - Will there be compile issues if this is left not addressed?
Suggestions or pointers to links containing solutions to such situation would be appreciated.
I just don't see a way around it. The formulas are what they are and they can't be altered. Have thought about hiding the word infinity by masking the cell fore color with an if statement... thoughts on that?