I have local resources files like on screenshot:
How can I read local resource data of AddCustomer page in Default.aspx page?
Thanks!
At last found it:
HttpContext.GetLocalResourceObject(virtualPath, resourceKey)
Read the file in a StreamReader.
StreamReader SR;
SR = File.OpenText(Server.MapPath("~/App_globalResources/Litware.resx"));
string str = SR.ReadToEnd();
SR.Close();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With