I have a table of products and the code I have as char(6)
in the data and business layer I do the whole process, now in the presentation layer I convert the string
in char using Convert.TChar(txtcodigo.Text)
, it does not send me a error until saving the record tells me
"Error the string must have exactly one character".