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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

830 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