Using ResourceManager

There’s surprisingly simple way of reading resource by string:

ResourceNamespace.ResxFileName.ResourceManager.GetString("ResourceKey")

It’s clean and elegant solution for reading resources by keys where “dot notation” cannot be used (for instance when resource key is persisted in the database).

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)