Click here to Skip to main content
15,898,718 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi sir
i tried to insert the data to database using vb coding with sqlserver2005
when i click the save button the error displaying as follows
String or binary data would be truncated. The statement has been terminated.

pls help me to clear this error

Nandakumar.S
Posted
Comments
aayu 4-Oct-10 7:08am    
can you put your code over here

1 solution

Some of your field length the less than what you are trying insert in that field.

Check the field length and the length of the data your trying to insert.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900