I'm having to change a working application to accomodate new requirements. Mainly I have 2 arrays, the values of which are now loaded into SQL tables.

I would like to read these values into C# Dictionaries, as C# is the main logic language for these ASP.NET pages.

What I want to do is adjust the JQuery logic so that instead of accessing the arrays, it will instead reach out to the C# dictionaries using the JQuery value as the dictioanry's Key and return the dictionary's Value. That value needs to be captured by JQuery and will be used to finish calculations.

How would I go about doing this?