Click here to Skip to main content
15,797,721 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

How can I get my datatable updated in a recursive database call? Foe eg. I have a datatable and first time when I fill datatable with dataadapter 500 rows are filled. Again I've to
make a database call for next 500 records. So the datatable to be updated with 1000 rows. How's it possible. I want to use Datatable/Dataset without any List. Also the fields from the Sotred Procedure may vary. So cannt hard code column values.
Thanks in adavnce
Posted
Updated 22-Mar-13 20:56pm
v2

1 solution

you use a DataSet and you can store as many table as you want
or
you can add rows to the already existing DataTable.

here[^] have a look at the similar question which might solve your problem.
 
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