PC Review


Reply
Thread Tools Rate Thread

DataTable schema for identity

 
 
joe
Guest
Posts: n/a
 
      15th Jul 2003
Is there anyway to tell if a column is an identity field using the
data adapter's FillSchema method.

Thanks,
Joe
 
Reply With Quote
 
 
 
 
Scot Rose [MSFT]
Guest
Posts: n/a
 
      15th Jul 2003
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 Removed) <Remove word online. from address>

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




--------------------
>From: (E-Mail Removed) (joe)
>Newsgroups: microsoft.public.dotnet.framework.adonet
>Subject: DataTable schema for identity
>Date: 15 Jul 2003 07:42:13 -0700
>Organization: http://groups.google.com/
>Lines: 5
>Message-ID: <(E-Mail Removed)>
>NNTP-Posting-Host: 134.174.21.2
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit
>X-Trace: posting.google.com 1058280133 18038 127.0.0.1 (15 Jul 2003 14:42:13 GMT)
>X-Complaints-To: groups-(E-Mail Removed)
>NNTP-Posting-Date: 15 Jul 2003 14:42:13 GMT
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-xit-09!

supernews.com!postnews1.google.com!not-for-mail
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.adonet:55741
>X-Tomcat-NG: microsoft.public.dotnet.framework.adonet
>
>Is there anyway to tell if a column is an identity field using the
>data adapter's FillSchema method.
>
>Thanks,
>Joe
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading database schema, identity fields are added automatically =?Utf-8?B?SmFpbWUgU3R1YXJkbw==?= Microsoft ADO .NET 1 10th Feb 2006 01:56 PM
Access & OleDb - generating schema changes, problem with identity/counter fields. Thomas Tomiczek [MVP] Microsoft Access Database Table Design 9 5th Nov 2004 10:32 AM
Access & OleDb - generating schema changes, problem with identity/counter fields. Thomas Tomiczek [MVP] Microsoft ADO .NET 9 5th Nov 2004 10:32 AM
Append 1 Datatable to another (same schema)?? SLN Microsoft ADO .NET 1 4th Dec 2003 07:16 PM
DataTable schema changes Thomas Brown Microsoft ADO .NET 2 17th Sep 2003 05:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:19 PM.