ASP.Net Web Service JSON format, JQuery, JS Sample?  Newbie need guru

Posted on 2012-08-28
Last Modified: 2012-08-31
Hello all,

I was trying to use this link here:

But there is no sample code base so it is confusing me.  I am new to JSON and JQuery but what I am trying to do is I want a web service to return a JSON format object not sure if a dictionary, list etc. is best where I want to simply populate a select options in my HTML file I have with the values.  The one oracle call I have only returns one column of group name.   I tried this link but the web service does not show any methods etc. so I am a little confused.  Does anyone know where a good sample code base is to do this together like a ASMX, HTML and JS file code example?

All I want to do for a test is have a method in my web service as I can create a datatable with a select query that has one return value called GroupName that can be my HTML select option value and text.   I have the datatable so whatever needs to be used a List, Dictionary etc. then with JQuery and JS populate the HTML select options.

Thanks all
Question by:sbornstein2
    LVL 16

    Accepted Solution

    LVL 25

    Expert Comment

    LVL 23

    Expert Comment

    by:Roopesh Reddy

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
    Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
    The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now