Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. regarding sqlDataAdapter

regarding sqlDataAdapter

Scheduled Pinned Locked Moved Database
databasehelpannouncement
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Madni Abbasi
    wrote on last edited by
    #1

    hi, I am using sqlDataAdapter select command based on multiple tables to populate DataSet . I wanted to update only one table data by using UpdateCommand Property becauze sqlCommandBuilder is not supported for multiple base tables. plz help me to write Update Command. SelectCommand is as sql = "SELECT a.prepaidID,a.revAccountNo,a.AccountNo AS origAccountNo," & _ "a.totalAmount, .description, .distAmount,b.fromDate,b.toDate,b.vtCode, b.voucherNo,b.voucherDate" & _ " FROM prepaidDistribution a,prepaidDistributionDetail b" & _ " WHERE a.prepaidID = b.prepaidID and a.companyCode='" & compCode & _ "' and b.fromDate>='" & startDate & "' and b.toDate<='" & endDate & _ "' and b.vtcode IS NULL and a.accountNo like '" & accountNo & "%'" plz help immediately

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups