We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

C#+ adding datatables of same format to data set+ urgent!!!

Last post 03-28-2008 7:51 AM by Ramki_Recw. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-27-2008 4:33 AM

    C#+ adding datatables of same format to data set+ urgent!!!

    hi all,

    i have a loop with a database query statement inside. every time the the database return a dataset. what i want to do is just display all the records in datagrid i.e. adding more records below the existing records.


    i.e pile up the records all the datatables r in same format i.e same columns

    Thanks

    Radhika

    • Post Points: 15
  • 03-27-2008 5:23 AM In reply to

    Re: C#+ adding datatables of same format to data set+ urgent!!!

    Hello,

    Read this post, please... the code is VB.NET...

    Attempt to Use the Load statement or ImportRow() statement to filter the record and copy only this line into a cloned datatable?. On this way.. only the record that you need wil be available.

    http://www.developerfusion.co.uk/forums/t/52469/

    regards

    CFQüeb

    • Post Points: 5
  • 03-28-2008 7:51 AM In reply to

    Re: C#+ adding datatables of same format to data set+ urgent!!!

    hi,

     

    maintaing a global data table and making the datasoursce of the data grid to this data table will solve

    everytime u get new records just add those records to this global datatable..as it is the datasource of the grid this will make sure new records wil add to datagrid..

     

    Ramki

    • Post Points: 5
Page 1 of 1 (3 items)