Link to home
Start Free TrialLog in
Avatar of Sam OZ
Sam OZFlag for Australia

asked on

VB.NET bulk update of a table from another table

Hi Experts ,
     I need the following
      read a field Fld1 oracle database OraTb
      populate the field Fld1(Name can be changed to Fld2 ,if necessary)  an Access table  AccessTb   values from Oracle Fld1
 
       I can loop thru Oracle table fill into a .net Datatable  .   Loop thru  the datatable and insert into Access table with ExecuteCommand
       But is there a more efficient way of doing this  with VB.NET ? ( I know this is an ETL activity but I can't use it now)
         
  Thanks
Avatar of Pawan Kumar
Pawan Kumar
Flag of India image

Pls try this..
 

DataAdapter.Update(DataSet)


Ref more at below -  <<Updating Data Sources with DataAdapters>>

https://msdn.microsoft.com/en-us/library/system.data.common.dataadapter.update(v=vs.110).aspx
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sam OZ

ASKER

hi Thanks, Is there a better way of doing this in .NET ?
The option you choose is a loop method row by row. It is not bulk update.