Re: Trace My SQL Command
Posted by: Gabriela Martinez
Date: November 13, 2012 10:35AM

Abu,

If you want to build your queries to contain the values that have changed on each row you'll have to make a loop to replace them into your command text. For that you can use the object you already have in:

DataTable changes = dt.GetChanges();

so changes.Rows are all the rows that have changed
To get every row you can do a foreach within this collection and get each value from the ItemArray property.


Please let us know if this worked for you.

Options: ReplyQuote


Subject
Written By
Posted
November 11, 2012 09:15AM
November 12, 2012 10:15AM
November 13, 2012 12:56AM
Re: Trace My SQL Command
November 13, 2012 10:35AM
November 13, 2012 11:24AM
November 13, 2012 03:52PM
November 13, 2012 07:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.