Last post Oct 31, 2006 02:10 AM by Gordon-Freeman
Oct 29, 2006 08:50 AM|MostafaAdel|LINK
i have a Webproject that is developed using ASP.Net 2.0 and i am using
Localization for it using a Global resource file.
my question is: i want to change the values of the Resource files .resx programmatically from the code behind file, i don't want to go the the .resx file manually and look for the string i want to change then change it by hand. because my
project is hosted on a web server and it takes a long time to download the file (.resx) , change it and then upload it again. its better if i just made a page in the administrator menu to directly change the resources i want.
Thanky you for your time,
Development Team Leader
Oct 29, 2006 03:49 PM|vcsjones|LINK
you can use the ResXResourceWriter in the System.Resources namespace.
Oct 30, 2006 07:21 AM|MostafaAdel|LINK
thank you for your reply but there is another problem, the resxresourcewriter writes a new file to the application, it doesnot modify the existing one.
so is there a way to use it to modify an already existing resource file
Oct 31, 2006 02:10 AM|Gordon-Freeman|LINK