D
Dennis Davitt
When trying to "copy" rows from one dataSet to another I get an exception
that say: "This Row already belongs to another table".
Any ways around this?
I am trying to take a DS from a WebService and initially the RowState is
unchanged. I went through the rows to fool the row state by iterating
through the datarowcollection and setting dr[0] = dr[0]; however this
changes the state to modified and the DataAdapter calls the Update command.
I need to call the INSERT command because all those rows retrieved from the
dataSet "MUST" be inserted into the SQL table.
Any help would be greatly appreciated. Thanks!
that say: "This Row already belongs to another table".
Any ways around this?
I am trying to take a DS from a WebService and initially the RowState is
unchanged. I went through the rows to fool the row state by iterating
through the datarowcollection and setting dr[0] = dr[0]; however this
changes the state to modified and the DataAdapter calls the Update command.
I need to call the INSERT command because all those rows retrieved from the
dataSet "MUST" be inserted into the SQL table.
Any help would be greatly appreciated. Thanks!