开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜