C # case sensitization, ending ";", branch in the second line plus " ", notify // or / * * / vb is not case sensitive, branch "_" second line plus "&", Note With the 'Structure Error handling. Net best new features is a unified structural error handling architecture. How to handle errors use the Try ... catch ... Finally structure. Let each statement define a block to run. Try 'Run Block Catch [Exception [As Type]] [WHEN Expression]' Error Lable.Text = EX.MESSAGE FINALLY 'Whether there is an error, it will run, such as: connection.close () end try type conversion sealing and demolition Box and type conversion are not the same concept! VB with ctype