Error with table-valued parameter
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.
精彩评论