http://topic.csdn.net/u/20070121/15/f6c1a9b5-5002-486f-b219-c3b2d85367eb.html

我也有同样的问题,刚刚解决了
SqlParameter sp=new SqlParameter( "@temp ",SqlDbType.VarChar); 
这句应该改为
SqlParameter sp=new SqlParameter( "@temp ",SqlDbType.VarChar,50);
初始化该字段时大小必须设置大小
不明白可以看这里
http://119116112.spaces.live.com/blog/cns!39E35383A54CED70!148.entry
或者
http://www.chinaaspx.com/Comm/Dotnetbbs/Showtopic.aspx?Forum_ID=6&Id=149392

相关文章:

  • 2021-11-18
  • 2021-10-15
  • 2022-01-20
  • 2022-12-23
  • 2021-08-12
  • 2021-11-18
  • 2022-12-23
猜你喜欢
  • 2021-07-19
  • 2022-12-23
  • 2021-06-11
  • 2021-11-06
  • 2021-11-27
相关资源
相似解决方案