a1204773
a1204773

Reputation: 7043

Is it possible to create sdf file and copy it to isolated storage

I want to create one sdf file using SDFViewer and then copy it to isolated storage because I don't want add data manually in the code. Is that possible? If yes how I can do that? Do I need to add as item in project?

How then I should modify this?

const string ConnectionString = "Data Source=isostore:/Questions.sdf";

Upvotes: 2

Views: 487

Answers (1)

onmyway133
onmyway133

Reputation: 48095

Take a look at How to deploy a Reference Database with a Windows Phone Application

Hope that helps

Upvotes: 4

Related Questions