473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Need to populate first 2000 records

Hi All

i have 40,000 records.
populate the total records in Datagrid . it's taken time

I need to populate the first 2000 records After the need to populate next
2000 records.
how can i do it using datagrid.
inC#.Net
..
Advance Thank u
Venu.

Nov 16 '05 #1
3 1174
You can use limit or top in your SELECT sentences to limit the results that
you obtain from DataBase.
If you want to work in local, you can use the property DataViewManager to
personalize your DataSet.

I hope this help you.
Ernesto Lores.
"Karunakararao" <ka************@i-vantage.com> escribió en el mensaje
news:uw****************@TK2MSFTNGP10.phx.gbl...
Hi All

i have 40,000 records.
populate the total records in Datagrid . it's taken time

I need to populate the first 2000 records After the need to populate next 2000 records.
how can i do it using datagrid.
inC#.Net
.
Advance Thank u
Venu.


Nov 16 '05 #2
How can i do it using " DataViewManager"

and DataSet.

Plese send once u have any idea of this.

Iam doing like this

OleDbDataAdapter dadEquipList = new
OleDbDataAdapter(selectEquipmentQuery,OledbHelper. CONN_STRING);

DataSet dsEquipList = new DataSet();

dadEquipList.Fill(dsEquipList, "Mrequests");

DataView dvEquipList = new DataView();

dvEquipList = dsEquipList.Tables["Mrequests"].DefaultView;

dgdEquipment.DataSource = dvEquipList;

dgdEquipment.DataBind();

"e-lores" <e-****@noesunemail.com> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
You can use limit or top in your SELECT sentences to limit the results that you obtain from DataBase.
If you want to work in local, you can use the property DataViewManager to
personalize your DataSet.

I hope this help you.
Ernesto Lores.
"Karunakararao" <ka************@i-vantage.com> escribió en el mensaje
news:uw****************@TK2MSFTNGP10.phx.gbl...
Hi All

i have 40,000 records.
populate the total records in Datagrid . it's taken time

I need to populate the first 2000 records After the need to populate

next
2000 records.
how can i do it using datagrid.
inC#.Net
.
Advance Thank u
Venu.



Nov 16 '05 #3
I am using web application
pls check that code:
"Karunakararao" <ka************@i-vantage.com> wrote in message
news:Oz**************@TK2MSFTNGP09.phx.gbl...
How can i do it using " DataViewManager"

and DataSet.

Plese send once u have any idea of this.

Iam doing like this

OleDbDataAdapter dadEquipList = new
OleDbDataAdapter(selectEquipmentQuery,OledbHelper. CONN_STRING);

DataSet dsEquipList = new DataSet();

dadEquipList.Fill(dsEquipList, "Mrequests");

DataView dvEquipList = new DataView();

dvEquipList = dsEquipList.Tables["Mrequests"].DefaultView;

dgdEquipment.DataSource = dvEquipList;

dgdEquipment.DataBind();

"e-lores" <e-****@noesunemail.com> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
You can use limit or top in your SELECT sentences to limit the results

that
you obtain from DataBase.
If you want to work in local, you can use the property DataViewManager to personalize your DataSet.

I hope this help you.
Ernesto Lores.
"Karunakararao" <ka************@i-vantage.com> escribió en el mensaje
news:uw****************@TK2MSFTNGP10.phx.gbl...
Hi All

i have 40,000 records.
populate the total records in Datagrid . it's taken time

I need to populate the first 2000 records After the need to populate

next
2000 records.
how can i do it using datagrid.
inC#.Net
.
Advance Thank u
Venu.




Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: jason | last post by:
Access 2000: I have a customer-inventory table I need to loop through and compile a list of all the inventory items the customer is tracking. The problem I am finding is that a simple loop...
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
9
by: Susan Bricker | last post by:
Greetings. I am having trouble populating text data that represents data in my table. Here's the setup: There is a People Table (name, address, phone, ...) peopleID = autonumber key There...
5
by: Rich | last post by:
Hello, I have a search application to search data in tables in a database (3 sql server tables). I populate 2 comboboxes with with data from each table. One combobox will contain unique...
8
by: Johnfli | last post by:
Most of my ASP programming experience is on NT4. We recently upgraded (replaced) our NT4 webserver with Win2k3 Web Edition. I am looking for a good book that I can go through that will show me...
4
by: georges the man | last post by:
hey guys, i ve been posting for the last week trying to understand some stuff about c and reading but unfortunaly i couldnt do this. i have to write the following code. this will be the last...
6
by: mike11d11 | last post by:
My program has to tables in it. One is the Accounts table with all personal information and then there is also my Memos table with all the notes for each account. My program displays one record...
3
by: suek | last post by:
I have a table with over 4000 records to search upon, and the users don't like a combo box. So what I have been trying to do for the last twelve hours is do some code to get a text box to search. ...
5
by: Kaosman | last post by:
I have been trying to figure out this problem for a while. All I want to do is have a combo box populate a list box and the list box change to the record based on the users choice. The combo...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.