Update database with DataTable...

Discussion in 'ASP .Net' started by RAB, May 11, 2007.

  1. RAB

    RAB Guest

    I created a DataTable with numerous columns and rows. I want to
    update with my DataBase with selected columns from my DataTable (but
    not all the columns of information). Assuming the columns of my
    DataTable I am interested in, match the variable type of some of the
    columns of my DataBase, how could I accomplish my task? Please share
    some sample code if it is not too much trouble?

    Thanks in advance,
    RABMissouri2007
     
    RAB, May 11, 2007
    #1
    1. Advertisements

  2. RAB

    RAB Guest

    How about making this question simpler... If I create a DataTable
    with two columns "LastName" and "FirstName" and I have a DataBase with
    a table that has two columns "LastName" and "FirstName", how do I
    update my Database with my DataTable?

    Thanks in advance,
    RABMissouri
     
    RAB, May 11, 2007
    #2
    1. Advertisements

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. J. Babe
    Replies:
    1
    Views:
    8,547
    Kevin Spencer
    Aug 15, 2003
  2. Fredrik Rodin

    Sort a datatable and create a new datatable

    Fredrik Rodin, Feb 16, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    9,218
    paul.mariotti
    Sep 28, 2007
  3. =?Utf-8?B?Qmx1ZWZsb3dlcg==?=

    Casting DataTable to class inherit from DataTable

    =?Utf-8?B?Qmx1ZWZsb3dlcg==?=, Apr 2, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    1,123
    =?Utf-8?B?Qmx1ZWZsb3dlcg==?=
    Apr 2, 2004
  4. jg
    Replies:
    1
    Views:
    833
    =?Utf-8?B?U2hhaWxlc2ggSmFubnU=?=
    Aug 17, 2004
  5. Ersin Gençtürk
    Replies:
    1
    Views:
    4,132
    Ersin Gençtürk
    Oct 6, 2004
Loading...

Share This Page