SyntaxFix
Write A Post
Hire A Developer
Questions
You can also do using Int64.TryParse Method. It will return '0' if their is any string value but did not generate an error.
Int64.TryParse
Int64 l1; Int64.TryParse(strValue, out l1);