Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ListView/DataGrid Viewable Records

Posted on 2004-10-05
2
Medium Priority
?
288 Views
Last Modified: 2010-04-23
Hello all,
I have a little problem I can't seem to figure out.
I am querying an Oracle database to fill either a listview or a datagrid (either is fine or some other control) in order to view and "correct" some mistakes.  I can fill the listview/datagrid exactly as I want; this is easy; but my problem is that there are over 50,000 items that will fill the control (listview, datgrid, etc)  Obviously, no one wants to look at 50,000 items.  So...what I need to do is limit the  number of items shown to something that the user chooses (this number is stored in registry).
Example:
I would want to view only 100 items, correct them, re-query, view 100 items, correct them, re-query...etc.
I have tried a few things with listview.items.count...but to no avail.
Please help !!
Thanks,
AK
0
Comment
Question by:Akula
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
123654789987 earned 500 total points
ID: 12235577
U can use paging in a datagrid. U can set the paging size of the datagrid to 100. Some of the links to help u in paging are:

If u are using a windows application.

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q305271&ID=kb;en-us;Q305271&SD=MSDN


If it is a web application
http://www.c-sharpcorner.com/asp/Code/northwindLC.asp
0
 
LVL 1

Author Comment

by:Akula
ID: 12248555
That did the trick !
Thanks,
Ak
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

636 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