How to retrieve column with Autoincrement property value using ExecuteDataSet?

goodmorningsky

Well-known member
Joined
Aug 18, 2003
Messages
172
ExecuteDataSet or any other Execute.. doesnt set Autoincrement property!

adapter.ExecuteDataSet(datasetobject);
datasetobject.Table[0]["ID"].Autoincrement return always false!

How can I retrieve DataTable object with Autoincrement Value set?
 
ExecuteDataSet isnt a native .NET method (at least in v1.1 - dont know about beta 2.0 - but then I would think youd mention if you were using that) so I assume: what extension have you added that does this (Enterprise Library, 3rd party, etc.) ExecuteDataSet method? It may be the way they wrote that method. It may be the type of object too - definitely havent seen any object out there that has a Autoincrement property, including Enterprise Library.
 
Back
Top