I am trying to convert a string variable to a number but keep getting this error message. Any ideas why this keeps occurring. Any help is greatly appreciated.
Sample Data: 7417355331
practiceTaxId = Session.Contents["practiceTaxId"].ToString();
mpracticeTaxId = Convert.ToInt32(practiceTaxId); <----------------Error Occurs Here
Here is the exception detail:
System.OverflowException was unhandled by user code
Message=Value was either too large or too small for an Int32.