[Solved] how to convert string to int and decimal - CodeProject
Use the ToString method with required format as shown below: txtDept.Text = emp.DepID.ToString(); txtSalary.Text = emp.salary.ToString(" N2"); The question was not clear. If it is required to convert the string representation of the number to its native v...