Results 1 to 3 of 3

Thread: dataadpter.update() and response qsuestion

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2010
    Posts
    50

    dataadpter.update() and response qsuestion

    Hi everyone

    my application use dataadpter.update() to update inforamtion to database(ms sql), and get number of row affected.

    when i insert new data to database (e.g. 100 rows), on the server side the stored procedure is going to filter those rows if it match the condition, then it will insert it, otherwise just not insert that rows.

    as i said before, the appliction is going to response how many row affected.
    it returns 100rows, no matter how many rows is actully insert to the database
    question: how can i get the number of row that is actully been insert into the database

    thx

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: dataadpter.update() and response qsuestion

    Which language are you using?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 2010
    Posts
    50

    Re: dataadpter.update() and response qsuestion

    vb.net and ms sql

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width