I am working on a project and am trying to get my results from my calculations to show in the Message Box with Labels. Below is my code so far:
'What to Display
If Me.chkGrandTotal.Checked = True Then
MessageBox.Show("Grand Total:" lblGrandTotal, "Amount of Order")
Else
MessageBox.Show(decTotalA.ToString & ControlChars.CrLf & _
decTotalB.ToString & ControlChars.CrLf & _
decTotalC.ToString & ControlChars.CrLf & _
lblGrandTotal.ToString, "Amount of Order")
End If
HELP!
'What to Display
If Me.chkGrandTotal.Checked = True Then
MessageBox.Show("Grand Total:" lblGrandTotal, "Amount of Order")
Else
MessageBox.Show(decTotalA.ToString & ControlChars.CrLf & _
decTotalB.ToString & ControlChars.CrLf & _
decTotalC.ToString & ControlChars.CrLf & _
lblGrandTotal.ToString, "Amount of Order")
End If
HELP!