Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4067224
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:13:21+00:00 2026-05-20T16:13:21+00:00

Learning Jquery here and I would like to show my SQL table on my

  • 0

Learning Jquery here and I would like to show my SQL table on my webpage. I have the “shell” of my jquery that matches the SQL table and my web.config is setup correctly but my jquery doesnt load data. Where it says url: 'ConnectionString', I would like for it to point to my table or the web.config file. What can I do here. I need some guidance as this is something Im learning.

Thanks

<script type='text/javascript'>

    $(function () {
        $("#list").jqGrid({
            url: 'Default.aspx',
            datatype: 'xml',
            mtype: 'GET',
            colNames: ['Inv No', 'Date', 'Amount', 'Tax', 'Total', 'Notes'],
            colModel: [
  { name: 'ID', index: 'ID', width: 55 },
  { name: 'Date', index: 'Date', width: 90 },
  { name: 'amount', index: 'amount', width: 80, align: 'right' },
  { name: 'tax', index: 'tax', width: 80, align: 'right' },
  { name: 'total', index: 'total', width: 80, align: 'right' },
  { name: 'note', index: 'note', width: 150, sortable: false }
],
            pager: '#pager',
            rowNum: 10,
            rowList: [10, 20, 30],
            sortname: 'invid',
            sortorder: 'desc',
            viewrecords: true,
            caption: 'Joshs first grid'
        });
    }); 

</script>

My Aspx part as follows

<div class="ui-widget">

    <table id="list"></table> 

    <div id="pager"></div> 

</div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T16:13:22+00:00Added an answer on May 20, 2026 at 4:13 pm

    You seem to have a misunderstanding of how jQGrid works. It does not talk directly to your database at any point and it makes use of (optional) server-side libraries to format the response your server sends when the plugin requests data.

    Please take a look at http://www.trirand.net/demoaspnet.aspx for an example of using jQGrid with ASP.NET.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have data being imported from a database and I would like to represent
I like javascript, but I have problem with learning it :) I mean, i
I am learning jQuery and as part of that i tried following code.. It
Hi I am using a table manipulation (sorting) script taken directly from Learning jQuery
I am embarking upon my first ASP.NET MVC project and I would like to
I was building a large web script with jquery. It does various things and
Completely new to JQuery so I am learning everyday. One thing I noticed is
I am learning how to create plugin and have problem in how to create
I'm learning how to traverse the DOM so this question is related to that.
Here's the deal: I am working on a site that provides information for art

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.