|
-
Jun 9th, 2005, 03:10 PM
#1
Thread Starter
PowerPoster
sql server ce problem..again
here we are yet again. I am really fed up of this.
problem: how can i create a SQL Server CE mobile application? I cannot seem to be able to create a database or open a connection!
in VS.NET 2003 if i add a reference to System.Data.SqlServerCE.dll and System.Data.SqlClient.dll - I write this code:
private void CreateDatabase()
{
SqlCEEngine theEngine = new SqlCEEngine("Test.sdf");
theEngine.CreateDatabase();
}
everytime I do this, when it tries to create an object I get a missing method exception. I tried soo many ways but i could not get away from the missing method exception. What am I doing wrong?
Next, I tried VS2005 Beta 2 and it gives me a "missing assembly reference" exception.
?!?!?!?
whats going on?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|