Hey guys, while I was coding for my application. I ran into a problem
Here's my code
It says " Operator '&' is not defined for types 'System.Windows.Forms.TextBox' and 'String"Code:outputTextBox = outputTextBox & (counter + 1).ToString().PadLeft(2) & TotalSales(counter).ToString("C2").PadLeft(16) & bonus(counter).ToString("C2").PadLeft(17) & ControlChars.NewLine
Any help is appreciated! =)




Reply With Quote