Error -- VB.NET运行时报Procedure or function 'procedureName' expects parameter '@paramater', which was not supplied.

系统环境

Win7

VB.NET

详细信息

System.Data.SqlClient.SqlException (0x80131904): Procedure or function 'procedureName' expects parameter '@paramater', which was not supplied.

原因

procedureName缺少参数 

@paramater 在代码中的Value被赋值为nothing导致,应该为DBNull.Value

posted @ 2014-02-24 11:23  xiaoyinxxy  阅读(410)  评论(0编辑  收藏  举报