The resource has not been reviewed by Editors yet. Readers are adviced to use their best judgement before accessing this resource. This resource will be reviewed shortly. If you think this resource contain inappropriate content, please report to webmaster. |
There are several ways you can convert a number to string in .Net. Few examples are shown below.
Dim salary As String
' Sample 1
salary = 10000.ToString()
' Sample 2
Dim sal As Int32 = 10000
salary = sal.ToString()
' Sample 3
salary = System.Convert.ToString(sal)
' Sample 4
salary = System.Convert.ToString(10000)