While you can use the IDE to create a database and populate the schema,
there is no scripting support for SQLCe (yet) that would build an SQL DDL
script. Once the database is built, the IDE can build ST TableAdapters to
manage the data--but you need a populated database first. I have examples of
doing all of this in the IDE and code in my EBook.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit
www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
"iKiLL" <iK***@NotMyEmail.comwrote in message
news:O%****************@TK2MSFTNGP02.phx.gbl...
Hi Ginny
Yeah this is what i am wanting to do but i was hoping to create it in the
IDE as an XML file so that it is Strong typed.
ink
"Ginny Caughey [MVP]" <gi******************@wasteworks.comwrote in
message news:61**********************************@microsof t.com...
>ink,
You have to have the database before you can connect to it, but you can
write code that creates a SqlCeResultSet programmatically once you have
that connection. Is this what you want to do?
--
Ginny
"iKiLL" <iK***@NotMyEmail.comwrote in message
news:eT**************@TK2MSFTNGP02.phx.gbl...
>>>
Hi all
I am developing in C#, CF2 and SQL Mobile.
Currently my app is using Merge Replication. This is all working well.
I have now decided to try and use Result sets in my application but I am
not sure on how to handle this.
I have gone through examples on how to build a result set, but my
application creates the Database the first time it syncs.
How do I build a result set for a database that does not exist yet?
Thanks,
ink