开发者

Error with table-valued parameter

开发者 https://www.devze.com 2023-03-02 01:11 出处:网络
I get an error: Method not found: \'Void System.Data.SqlClient.SqlParameter.set_TypeName(Sy开发者_如何学编程stem.String)\'

I get an error:

Method not found: 'Void System.Data.SqlClient.SqlParameter.set_TypeName(Sy开发者_如何学编程stem.String)'

What it can be ?

I have a stored procedure (sql server 2008 r2) with table-valued parameter. I use ado .net for work with this procedure. But I get an error when I try to use this procedure.

I can't find an error description in internet ...


SqlParameter.TypeName is (from MSDN):

Supported in: 3.5 SP1, 3.0 SP1, 2.0 SP1

It sounds like you are trying to run it on a machine without the necessary service pack.

0

精彩评论

暂无评论...
验证码 换一张
取 消