JQuery- Read value from C# Dictionary
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?
Re: JQuery- Read value from C# Dictionary
You can't directly. jQuery is a JavaScript framework (client-side) whereas C# would be compiled by the server into a web application (server-side). You can pass data through GET and POST, but other than that, those two languages cannot interact together.
EDIT: Just so you know, duplicate threads across multiple forums is considered spam by this site's ToS. I deleted the other post for you.