Building JSON Results Table FROM DB

I want to take a page like this and create a JSON table so users could look up finishers based on one or more of the following search fields:
1) First Name
2) Last Name
3) Gender
4) Age
5) Bib
6) Race Participating in

All of these fields are in a sql server db will require a JOIN of three tables.

1) Participant (First, Last, Gender) joined by ParticipantID to
2)  PartRace (Bib, Age) joined by RaceID to
3) RaceData (Race Entered)

Let me know what else I need to tell you to purt this together.
Bob SchneiderCo-OwnerAsked:
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.

Bob SchneiderCo-OwnerAuthor Commented:
Oops....that should have said I want a JSON page...
Big MontyWeb Ninja at largeCommented:
have a look at aspJSON, it's a classic asp library that'll allow you to load data from the database and convert it to a json formatted string with one line of code

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
Bob SchneiderCo-OwnerAuthor Commented:
Thank you!
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

Big MontyWeb Ninja at largeCommented:
my pleasure, let me know if you have any questions on it, as I've used it a bunch in my projects
zephyr_hex (Megan)DeveloperCommented:
How are you calling your C# method which returns the results?  And what is that method's signature?

For example, if you use AJAX from your View to call a method in your controller, you can return JSON by using the following pattern:

public JsonResult MyMethod()
    return Json(myObject);

Open in new window

The JsonResult class is part of the System.Web.Mvc library.
Big MontyWeb Ninja at largeCommented:
@Megan -that is for asp .net, and not classic asp which is what the OP asked for.
zephyr_hex (Megan)DeveloperCommented:
@Big Monty - I must have missed the "classic" ASP.  Where is that indicated?
Big MontyWeb Ninja at largeCommented:
the tag "ASP" technically refers to classic ASP, or Active Server Pages. People sometime mistake regular ASP (which is the industry standard term) for ASP .NET
Bob SchneiderCo-OwnerAuthor Commented:
Thank you very much, both of you!
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

From novice to tech pro — start learning today.