Format Phone Number
You have nine digits but you want to format the phone number for a readable display.
string strContactPhone = "123456789";
Int64 phoneInt;
if (Int64.TryParse(strContactPhone, out phoneInt)) ;
{
strContactPhone = String.Format("{0:(###) ###-####}", phoneInt);
}
Visit www.BlueCanyonSoftware.com for custom software development.