使用sqlserver2005与asp.net的VB代码 [英] vb code with asp.net using sqlserver2005

查看:85
本文介绍了使用sqlserver2005与asp.net的VB代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨先生
我试图使用带有sqlserver2005的vb编码将数据插入数据库中
当我单击保存"按钮时,错误显示如下
字符串或二进制数据将被截断.该声明已终止.

请帮助我清除此错误

Nandakumar.S

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

推荐答案

您的某些字段长度小于您尝试在该字段中插入的长度.

检查字段长度和您要插入的数据的长度.
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.


这篇关于使用sqlserver2005与asp.net的VB代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆