Re: Sql Server Compact Edition - Lost Data
- From: "Vincent Cotton" <vinceNoSpam@xxxxxxxxxxxxxx>
- Date: Thu, 15 Feb 2007 10:18:18 -0600
It's simply copying your .sdf file to the output directory when you run the app from within the IDE. So, check the file output options for your database ".sdf" file. The changes aren't getting deleted by themselves. You are just creating a new database from the old one everytime your run the app. The database that is changed while your app is running is not the one you think it is. Hope this makes sense.
Thanks,
Vince
<mjhillman@xxxxxxx> wrote in message news:1171464462.706030.128250@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
While using this database to write a simple application using Visual
Studio (VB.Net) I have lost records from the database on several
occassions. Most recently this happed while executing local reports.
Has anyone else experienced this problem?
The records were present when I closed the application but after
restarting the application the records were gone. When the
application starts, the database is read and a tree menu is
populated. Only read functions are performed.
Thanks.
Mike
.
- Follow-Ups:
- Re: Sql Server Compact Edition - Lost Data
- From: Ginny Caughey [MVP]
- Re: Sql Server Compact Edition - Lost Data
- References:
- Sql Server Compact Edition - Lost Data
- From: mjhillman@xxxxxxx
- Sql Server Compact Edition - Lost Data
- Prev by Date: Re: Sql Server Compact Edition - Lost Data
- Next by Date: Re: data provider
- Previous by thread: Re: Sql Server Compact Edition - Lost Data
- Next by thread: Re: Sql Server Compact Edition - Lost Data
- Index(es):
Relevant Pages
|
Loading