Click here to Skip to main content
15,891,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hai all,

how can i do this "Adding data from server To DataGridView while scrolling DataGridView".

OR

Adding Data to DataGirdView Asynchronously..?

Please Help me..
Posted

1 solution

Hello friend...

in your case you need to write a sql query or store procedure that will return only some rows as per it will execute.. like paging first time this will return 1to10 then 11to20 its up to you, how much row you want to display in your grid...

then you have to attache an mouse wheel move or scroll event to your grid..

after all you need to write a function that will get the record from the database to display in gridview...

and you need to fire that function on mouse wheel move event and attach resulted data to your grid...

try this, i hope this will help you...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900