Hey just wondering what references 开发者_开发百科I need to add to my VS2008 Project to get the following working
Name ParameterDirection is not declared.
SqlDbType is not declared
Thanks
Try ensuring that your project has a reference to the System.Data assembly

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.
加载中,请稍侯......
精彩评论