Home All Groups Group Topic Archive Search About

Tableadapter insert return value

Author
2 Nov 2006 5:28 PM
J055
Hi

When I do an insert using the update(datatable) method I can get the new
identity but when I do an insert directly with the Insert method I can only
get the record count becuase the InsertCommand uses ExecuteNonQuery.

Can I get the Insert method to return the identity?

the sproc looks like

AddThis Social Bookmark Button