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

  • SEARCH
  • Home
  • 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 7713503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:53:34+00:00 2026-06-01T01:53:34+00:00

I am using JQGrid control. It is very powerful and feature rich. Now I

  • 0

I am using JQGrid control. It is very powerful and feature rich.

Now I have to consider two things.

  • Grid Data Sorting
  • Searching

What my problem is I have two options to solve this issue.

One is to use C# LinqExtensions methods.

public static class LinqExtensions
{
    public static IQueryable<T> OrderBy<T>(this IQueryable<T> query, string sortColumn, string direction)
    {
        ...
    }

    public static IQueryable<T> Where<T>(this IQueryable<T> query,
        string column, object value, WhereOperation operation)
    {
        ....
    }
}

Another one is to use stored procedures which allowed to parse parameter values in which included sorting and searching criteria.

If I will use second option, I no longer need to rely on LinqExtension class.

Which option will be best when it comes to performance of web application and large data volume?

  • 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-06-01T01:53:36+00:00Added an answer on June 1, 2026 at 1:53 am

    Both approaches are fine and can work for any real time application. Few points about both the approaches.

    StoredProcedure: Much powerful per-compiled. Write the SP so that it gives your records as per paging and sorting. Use CTE to improve the performance even more. Refer http://www.sqlteam.com/article/server-side-paging-using-sql-server-2005 for more details.

    This approach will boost the performance if your database consists lots of records.

    LinqExtensions : Still a powerful feature but it works really well with small set of database. If data volume is big you will see performance issues in it.

    My personal choice would be the first approach.

    Hope it helps.

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

Sidebar

Related Questions

I am using jqGrid to render some data. Now I want the ability to
Hi I'm using jqgrid to show some information in a grid. But I have
I am using jqgrid 3.8. I have a grid which is having some editable
i am using Jqgrid http://trirand.com/blog its a very good grid solution, the linked one
I am using jqGrid control in an ASP.NET application. Export to Excel feature is
I am using jqGrid ( http://www.trirand.com/blog/ ) to display some read-only data. The resizeable
I'm using jqgrid tree grid with the following configuration colModel : [ { name:'id',width
I'm using JQgrid, with a select/dropdown in my project, and have implemented it in
I am using jqGrid with treeGrid. I have added a filterToolbar. I would like
I am using JQGrid Advance Search feature multipleSearch: true, multipleGroup: true . I am

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.