You can create a DTS package that fills a SQLMobile database with the
contents of just about any datasource using SQL Server 2005 Integration
Services (old name = DTS), -or-, you can simply create a SQLMobile database
in SQL Server 2005 Workbench and make it a subscriber to a publication
which is a SQL Server database. Once you add the subscription to the
newly created SQLMobile Database, it will be filled with the contents of
the publication.
You can also do this programmatically using the System.Data.SqlServerCe
namespace. Use normal DDL commands to create the schema and then
fill the tables via replication or load from CSV files. (or type in rows by
hand in either the VS2005B2 Data Source window or SQL Server 2005
SQL Workbench.
--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com