Articles, Snippets, Code Samples for .Net Framework (C#, VB.Net)
To convert a string to a number, you can use one of the following methods
<DataType>.ParseConvert.To<DataType>
For example, to convert a string to int, you can use
int.Parse orConvert.ToInt32
No comments:
Post a Comment