where do I start?...
"->" is not valid in C#. the code should be this..Code:MessageBox.Show(ex->Message + "\n\n" + ex->GetType()->ToString() + "\n" + ex->StackTrace, "Exception");
==========================================Code:MessageBox.Show(ex.Message + "\n\n" + ex.GetType().ToString() + "\n" + ex.StackTrace, "Exception");
C# is a case-sensitive language. There is no "If"(capital "I") statement, but there is an "if"(lowercase "i") statement.Code:If (IsValidData());
You also shouldn't have the semicolon at the end of the if statement. That is basically terminating the if statement.
=============================================Code:if (IsValidData()) { // your code }
These should be ".ToString()".Code:txtOverallNPV.Text=npv.tostring(); txtOverallROI.Text=roi.tostring(); txtBrkEven.Text=bep.tostring();
=============================================
I didn't go through the rest of the code.




Reply With Quote