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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

920 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

16 Experts available now in Live!

Get 1:1 Help Now