S
Scudder Consulting
Im my application is a Winforms C# 2005 front end to a SQL Server 2005
database. I have several phone number fields in which I use a
MaskedTextBox to format the phone number. All is good until I create a new
record and try to save it to the database at which time I get the message
"The value violates the MaxLength limit of this column". The documentation
says that MaskedTextBox does not support the MaxLength property. If I
remove the mask I can save the record. What is going on and how can I fix
this?
Roger
database. I have several phone number fields in which I use a
MaskedTextBox to format the phone number. All is good until I create a new
record and try to save it to the database at which time I get the message
"The value violates the MaxLength limit of this column". The documentation
says that MaskedTextBox does not support the MaxLength property. If I
remove the mask I can save the record. What is going on and how can I fix
this?
Roger