Hi Doug,
I guess you are using .net 1.x.
One of the options is to use OleDbConnection.GetOleDbSchemaTable. The other
option would be to use database specific ddl queries.
--
Miha Markic [MVP C#]
RightHand .NET consulting & development
www.rthand.com
Blog:
http://cs.rthand.com/blogs/blog_with_righthand/
"Doug" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
> I am querying the database and sticking the results into a datatable.
> It would be helpful though if I could determine programmatically which
> column in that datatable is the identity column (if there is one). Is
> there a way to do this?
>