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 114849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:55:33+00:00 2026-05-11T02:55:33+00:00

I have confusion about GridView in ASP.NET. How does the GridView exactly work? I

  • 0

I have confusion about GridView in ASP.NET.

How does the GridView exactly work?

I mean when we bind data to gridview with 100 records through GridView1.DataBind();

I have set Pageindexchanging Event and I set the Pagesize = ’40’ and AllowPaging=’True’ Then….

Now the interesting part is begins What happens when i Click on next page index of GridView is it. Once again go to the database and fetch the data.. or gridview creates its own dataset and fetch data from that dataset or anything different than this…

And one more thing is how the Sorting works in GridView?

  • 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. 2026-05-11T02:55:34+00:00Added an answer on May 11, 2026 at 2:55 am

    The simple answer is yes, the GridView is simply a view placed over a DataGrid, and all the parameters specified affect how the GridView is rendered for the user. Since we’re dealing with the stateless web, you will have to rebind the data.

    One trick for this is that if your dataset isn’t too large, you can store the DataTable in the user’s session and simply retrieve it from there, saving a trip to the database. If you are dealing with a large amount of data, then you’ll want to look into options for having your SQL queries function in a ‘paged’ format so you only retrieve the rows you intend to display.

    With Paging and Sorting, they serve as an event to respond to in which you resort your data and rebind to the grid for presentation.

    The advantage of the GridView is that you do have a central object with a lot of functionality built in that you can use for rapid deployment. When you get a hand of how the sorting, paging, row commands, and other things work, you can do some really great things in a small amount of code.

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

Sidebar

Related Questions

mmm, I have just a little confusion about multiple auto declarations in the upcoming
I have some confusion related to the .NET platform build options in Visual Studio
I have been tasked with going through a number of ColdFusion sites that have
I have a web application, written in ColdFusion, which periodically starts using 100% of
I have started design of a ColdFusion application that is entirely web based. Not
I have a servlet that I would like to run within ColdFusion MX 7.
I have been starting to write some reasonably large and or confusing MySQL queries
I am a beginner of python and have a question, very confusing for me.
Title might be a bit confusing, so let me explain. I have a website

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.