goodmorningsky Posted October 13, 2005 Posted October 13, 2005 ExecuteDataSet or any other Execute.. doesn't set Autoincrement property! adapter.ExecuteDataSet(datasetobject); datasetobject.Table[0]["ID"].Autoincrement return always false! How can I retrieve DataTable object with Autoincrement Value set? Quote Sun Certified Web component Developer, Microsoft Certified Solution Developer .NET, Software Engineer
bri189a Posted October 13, 2005 Posted October 13, 2005 ExecuteDataSet isn't a native .NET method (at least in v1.1 - don't know about beta 2.0 - but then I would think you'd 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 haven't seen any object out there that has a Autoincrement property, including Enterprise Library. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.