static datasets

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi,

I need to load a static dataset file, what is the best way
to do this, I have added the file as an embedded resource
but the user may want to change this is there any way to
put this in the release directory so that it can be
changed?, I've tried content and this doesn't seem to
work. How does the app.config file get put there?

John
..
 
Hi,

I need to load a static dataset file, what is the best way
to do this, I have added the file as an embedded resource
but the user may want to change this is there any way to
put this in the release directory so that it can be
changed?, I've tried content and this doesn't seem to
work. How does the app.config file get put there?

John
.
John,

Why can't you load the resource from an XML file (or similar) at
component start-up? If there is a chance that once the component is
deployed that the user would like to change the resources then it makes
sense to load the dataset during init. That way you only have the one
loading event in your app.

TonyG
 
Back
Top