Reputation: 831
I want to copy the sqlserverCe database(.sdf) tables into another sqlserverCe database(.sdf) in the same application in ASP.NET.
Is it possible? If possible, please help me how can I do this?
Upvotes: 1
Views: 1609
Reputation: 41749
You could use my scripting library, which can script entire schema to a file, and run the script using the ExecuteSql method against the other sdf file. http://exportsqlce.codeplex.com
Upvotes: 1