Solved

What does it means by "enable Paging" & what happens when we click "Selected" of a row in aGridView

Posted on 2012-03-16
2
242 Views
Last Modified: 2012-06-21
Hi:

We're creating some web application using VS 2010 with Visual Basic.

We created a GridView

We configure GridView to bind with the AccessDataSource and also configure the AccessDataSource for SELECT, INSERT, UPDATE, and DELETE statements.

When we click an arrow tag on the right border of the GridView, a dropdownmenu pops up, in which we can check "Enable Paging", "Enable Selection", ...

Would you help to explain what happens if we enable paging. Is this feature for what?

We enabled selection, when we run the page, beside each row, a "Selected" link shows up. We click on this and nothing happens. Would you help to explain how we can use this.

Thanks a lot for any help,

Somits
0
Comment
Question by:somits
2 Comments
 
LVL 74

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 250 total points
ID: 37731438
Paging means you show only a subset of the data on a "page". For example, take the Questions page of EE:

EE Pending Questions
There are only 15 questions visible on this "page". However, there are many more open questions than just 15 on the site at any given time. Take note of the numbers at the bottom of the screenshot. They show that I am on "page" 1, and there at least 6 more "pages" of questions I can view. This is paging.

I'll let someone else describe the "selected" functionality as it's been a while since I played around with it, and I don't want to steer you wrong.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 250 total points
ID: 37731439
>Would you help to explain what happens if we enable paging. Is this feature for what?

This allows you to show data in pages rather than showing all the data on a single page. With some configuration, you can add paging controls to move between pages and you can also choose the page size.

>We enabled selection, when we run the page, beside each row, a "Selected" link shows up. We click on this and nothing happens. Would you help to explain how we can use this.

When you click Select, the SelectedIndexChanged event of the gridview fires which you can handle in your code behind to add logic such as showing a details view etc.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now