Hi
I want access to AutoNumber Fields in a Filled Dataset

for Example :

For i= 0 To Dataset11.Tables(0).Columns.Count - 1 
    If Dataset11.Tables(0).Columns(i).AutoIncrement = True Then
      MsgBox("This Field Is AutoNumber")
    End If
Next

But This Code Not Work !!!

Hi
My Code Work With MSAccess Database
but Not Work With MSSqlServer

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.