Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Sun Certified Web component Developer,

Microsoft Certified Solution Developer .NET,

Software Engineer

Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...