CommandBuilder and Identity Field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I used a commandbuilder for my DataAdapter.
i have a dataadapter "Pather" and a dataadapter "Sons"

in "Pather" table i have and identity field that i use in "Sons" table
to join them.

How can i know with identity number i have for my new "Pather" row ?
How can set my "sons" rows with this identity value ?

I hope my bad english is little clean.
Thank's a lots
 
I had solved it.

In the field "Id" in my datarow after dataadapter.Update i found the right
value like in the database table.

I hope this help anyone.
Bye
 
Back
Top