请问text类型字段怎么在使用时输入长度的参数。
CreateInParam( "@jhnr ",SqlDbType.Text,16, T_jhnr.Text)
请问text类型字段怎么在使用时输入长度的参数,如上。
如果写16好像只能存16个字符,是想要多大就写多大么?比如:
CreateInParam( "@jhnr ",SqlDbType.Text,32000, T_jhnr.Text)
[解决办法]
不需要指定长度!
发布时间: 2012-01-08 22:48:50 作者: rapoo
请问text类型字段怎么在使用时输入长度的参数。
CreateInParam( "@jhnr ",SqlDbType.Text,16, T_jhnr.Text)
请问text类型字段怎么在使用时输入长度的参数,如上。
如果写16好像只能存16个字符,是想要多大就写多大么?比如:
CreateInParam( "@jhnr ",SqlDbType.Text,32000, T_jhnr.Text)
[解决办法]
不需要指定长度!