Rafael,
Generally sdf files need to be created on the device itself in the current
version of SqlCe. One approach is to export the data from your database into
XML and then write a little .NetCF app that reads the XML into a DataSet,
creates the sdf file and writes out the data. (You could also create the sdf
file on the emulator using the same approach.)
There is also a 3rd party product called RemoteSqlCe that allows you to
create sdf files on the device from a desktop app. There's more info here:
http://www.gui-innovations.com/html/remotesqlce.html
--
Ginny Caughey
..Net Compact Framework MVP
"Rafael Metring" <(E-Mail Removed)> wrote in message
news:OuLJj49%(E-Mail Removed)...
> How can I create one .sdf file.
>
> I have my Database in Sql (mdf and ldf ) and I like know how to convert
this
> to .sdf file to use
> in my new system in pocket..
>
> Tanks Advanced.
>
> Rafael
>
>