You mean the text box should display the characters like that? If yes, You
can use the ToString method by giving txtPhone.Text =
MyPhoneNumber.ToString("###-###-####"). While saving replace the "-"
character with null.
You mean the text box should display the characters like that? If yes, You
can use the ToString method by giving txtPhone.Text =
MyPhoneNumber.ToString("###-###-####"). While saving replace the "-"
character with null.