0

我已将亚音速参考从 3.0.0.0 更新到 3.0.0.3,当我尝试执行存储过程时出现以下错误

不允许从数据类型 sql_variant 到 varchar 的隐式转换。使用 CONVERT 函数运行此查询。

我正在调用存储过程如下

db.GetAllLoanApplications(orderBy, direction, userEmail,"","","", 
                          Convert.ToString(userId)).ExecuteReader();

GetAllLoanApplications 是存储过程名称

请告诉我如何解决这个问题,

问候,
穆罕默德·纳维德·汗

4

1 回答 1

1

This issue was fixed with 3.0.0.3 - are you sure your reference is updated? If so - please submit an issue and as much detail as possible.

于 2009-07-29T04:10:29.723 回答