DataTable schema for identity

  • Thread starter Thread starter joe
  • Start date Start date
J

joe

Is there anyway to tell if a column is an identity field using the
data adapter's FillSchema method.

Thanks,
Joe
 
Not specifically, However you can check if it is an Autoincrement and the AutoincrementSeed value.

Want to know more? Check out the MSDN Library at http://msdn.microsoft.com or the Microsoft Knowledge Base at http://support.microsoft.com

Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : (e-mail address removed) <Remove word online. from address>

This posting is provided “AS IS”, with no warranties, and confers no rights.




--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top