Hello,
I am using the following code to create a new SQL CE database:
Dim engine As New SqlCeEngine("Data Source = \My Documents\test.sdf")
engine.CreateDatabase()
That code is directly from MSN, and I am pretty certain it is correct, but I keep getting an exception thrown on the 2nd line. The exception is this:
"An unhandled exception of type 'System.MissingMethodException' occured in System.Data.SqlServerCe.dll."
Can anybody help?? Using WM5 with .NET CF 1.0.
Thanks,
I am using the following code to create a new SQL CE database:
Dim engine As New SqlCeEngine("Data Source = \My Documents\test.sdf")
engine.CreateDatabase()
That code is directly from MSN, and I am pretty certain it is correct, but I keep getting an exception thrown on the 2nd line. The exception is this:
"An unhandled exception of type 'System.MissingMethodException' occured in System.Data.SqlServerCe.dll."
Can anybody help?? Using WM5 with .NET CF 1.0.
Thanks,