开发者

ASP.NET What reference am I missing for Parameter Direction and SQLDBType

开发者 https://www.devze.com 2023-03-22 15:13 出处:网络
Hey just wondering what references 开发者_开发百科I need to add to my VS2008 Project to get thefollowing working

Hey just wondering what references 开发者_开发百科I need to add to my VS2008 Project to get the following working

Name ParameterDirection is not declared.

Name SqlDbType is not declared

Thanks


Try ensuring that your project has a reference to the System.Data assembly

ASP.NET What reference am I missing for Parameter Direction and SQLDBType

and that your code file has:

using System.Data;

That should give you access to both those enumeration types.


Both of these enumeration (ParameterDirection and SqlDbType)are defined in System.Data.dll
This library is not referenced by default in some types of projects.
Did you Add reference for it?
If yes, then provide some code, please.

0

精彩评论

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