How do I programmatically access global resources?

Let's assume I have a web application with the following files:
C:/Inetpub/wwwroot/Default.aspx
C:/Inetpub/wwwroot/Black/App_GlobalResources/black.resx
So, the root of the web application is C:/Inetpub/wwwroot/.

And black.resx has the following data structure:
<root> ...
<data name="pie" xml:space="preserve">
<value>Custard Pie</value>
</data></root>

From Default.aspx, how can I programmatically access the contents of Black.resx?
Right now I'm just loading that file up into an XMLDocument object.  But I'd really like to be able to use something like ResourceManager so I can get at my data keys more easily.
matangoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David H.H.LeeCommented:
hi matango,
You can refer how to use ResourceManager to access global resources dynamically:
http://www.west-wind.com/WebLog/posts/99699.aspx

For more details regarding how to arrange global resources in more details:
http://msdn.microsoft.com/en-us/library/ms227427.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.