DimkaNewtown
Freshman
Okay,
I have an XML file marked as an embedded resource in my project. I can access the data using the following code:
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.
Little help please... (MSDN isn't helping)
I have an XML file marked as an embedded resource in my project. I can access the data using the following code:
C#:
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.
Little help please... (MSDN isn't helping)