Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Okay,

 

I have an XML file marked as an embedded resource in my project. I can access the data using the following code:

 

DataSet dsLocal = new DataSet();
           dsLocal.ReadXml( Assembly.GetExecutingAssembly().GetManifestResourceStream("UMIShip.ShipAPIPackages.xml"));
		ShipAPIPackages = dsLocal.Tables[0];

 

But now, let's say I want to change something and make it persistent for the next time I run my application. I tried writing the stream back to the assembly but apparently it's read-only. :confused:

 

Little help please... (MSDN isn't helping) :o

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...