Totalinvoice should be an integer datatype and you need to give,
TotalInvoice.ToString
in the message box.