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 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

I have some basic confusion about how transactions and msdtc work together. I have
I have some confusion about when to use the self keyword during ivars assignment,
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 a confusion, i was going through a blog and in its comment
I have a confusion about object lock. The below class having 4 methods, the
I still have some confusion about this thing. What I have found till now
I am creating a linklist class and have some confusion about reference to objects.
I have some confusion about generic programming in java: If Manager is subclass of
In LunarLander sample game provided as android sample game, I have a confusion about

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.