sql server compact ce 4.0 for visual studio 2012 toolbox add-in


  • When using this tool within VS2012 debug I set my connection string to the name of the sdf? 

    I continually get the following error message

    SQL Server Compact is not intended for ASP.NET development.


    code __________________________________________

        string constr = "testdb.sdf";
                testdbContext db = new testdbContext(constr);

                var q = from p in db.Testdata
                            select p;

    Wednesday, October 09, 2013 2:32 AM