Help locating local database

  • Thread starter Thread starter sats2059
  • Start date Start date
S

sats2059

Hey Everybody,

I am running a C# code that creates a database called Mobile.sdf

SqlCeEngine engine = new SqlCeEngine ("Data Source = Mobile.sdf");
engine.CreateDatabase ();

Now I am not able to locate the actual database on my PC. Where will
this be stored?

Thanks
Sats
 
Hello (e-mail address removed),

How did u try to locate it? Have u use search with filename?
It should be in the project directory

The idea I don't test to call engine.Dispose() after CreateDatabase();
Hey Everybody,
I am running a C# code that creates a database called Mobile.sdf
SqlCeEngine engine = new SqlCeEngine ("Data Source = Mobile.sdf");
engine.CreateDatabase ();

Now I am not able to locate the actual database on my PC. Where will
this be stored?


---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Hi,

You need to provide the full path.
Now I am not able to locate the actual database on my PC. Where will
this be stored?

You mean in your pocket pc right?

cheers,
 
Back
Top