The table was created using the following script:
The SqlCeCommand command text:
Add the parameter:
Execute the command and get the error "Value was either too large or too small for an unsigned byte."
Can you help please?
Code:
CREATE TABLE [USERS] ( [USER_PASSWORD] binary(100) NULL );
Code:
INSERT INTO [USERS] ([PASSWORD]) VALUES (@password);
Add the parameter:
Code:
command.Parameters.Add("@password", SqlDbType.Binary).Value = DBNull.Value;
Can you help please?
Comment