CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2008

    Question 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?
    if (Issue.Resolved)

  2. #2
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002

    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.
    Last edited by PeejAvery; July 22nd, 2013 at 09:29 PM.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.