About datatables

Discussion in 'ASP .Net' started by Ravindra, Dec 30, 2005.

  1. Ravindra

    Ravindra Guest

    Hi,

    How to pass the content of one data table to another data table.I simply
    tried using assignment operator...Example: datatable1=datatable2...But,its
    not working..

    ravi
    Ravindra, Dec 30, 2005
    #1
    1. Advertising

  2. Use the Copy method:

    tblTwo = tblOne.Copy();

    --
    Christopher A. Reed
    "The oxen are slow, but the earth is patient."

    "Ravindra" <> wrote in message
    news:...
    > Hi,
    >
    > How to pass the content of one data table to another data table.I simply
    > tried using assignment operator...Example: datatable1=datatable2...But,its
    > not working..
    >
    > ravi
    >
    >
    Christopher Reed, Dec 30, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Richard Loupatty
    Replies:
    2
    Views:
    371
    Richard Loupatty
    Jul 18, 2003
  2. Kevin Spencer

    Re: Combining DataTables

    Kevin Spencer, Jul 21, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,100
    Kevin Spencer
    Jul 21, 2003
  3. Gene Ariani
    Replies:
    0
    Views:
    2,801
    Gene Ariani
    Aug 21, 2003
  4. Simple Simon

    Compare Two DataTables

    Simple Simon, Dec 15, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    12,851
    Simple Simon
    Dec 15, 2003
  5. John Sutter
    Replies:
    3
    Views:
    397
    Natty Gur
    Jan 13, 2004
Loading...

Share This Page