关于一段计算的代码
Dim username As String
username = TextBox1.Text
gj.Text = username + "本月工资为" + CInt(TextBox10.Text - (TextBox6.Text * 5 + TextBox7.Text * 5 + TextBox4.Text * 50) + (TextBox8.Text * 20 + TextBox9.Text * 10))
gj.Visible = True
大家看看这段代码可以算出gj的结果吗?我运行说“强制转换无效”,大侠指点一下:)
gj是label