How to add identity column to datatable using c#. Im using Sql compact server.
Just my two cents. Auto-increment is useful in a Winform app (stand alone as Michael Buen rightly said), i.e.:
Winform
DatagridView is being used to display data that does not have a "key field", the same can be used for enumeration.
DatagridView