当我在VS中添加数据库连接或在数据绑定控件中配置数据源时会出现写有: 在.NET Framework Data Provider For SQL Server Compact 3.5出错的提示,哪位大虾能指点迷经?

解决方案 »

  1.   

    Setting Up a Project
    Before an application can work with ADO.NET, you must configure your projects to reference the .NET Compact Framework data providers that you plan to use.To create a reference to the .NET Compact Framework data providerIn an open Microsoft Visual Studio® .NET project, on the Project menu, click Add References.
    On the .NET tab, select either System.Data.SqlServerCe for SQL Server CE or System.Data.SqlClient for SQL Server version 7.0 or later. 
    Note  In some cases, you may need to reference System.Data.Common if your application uses DataAdapter or CommandBuilder classes.Click Select, and then click OK.
      

  2.   


    I am bad at English. Thank you anyway.