Konrad,
Sorry, I assumed you meant a DataSet
If its a SQLServer database (or MSDE), you can use ALTER TABLE to make
changes to a table
Refer to SQL Server Books Online for help on this
Stephen
"Konrad" <(E-Mail Removed)> wrote in message
news:bfd5fj$ark$(E-Mail Removed)...
> What about changing column to autonumber
> in existing database.
>
> "Stephen Muecke" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Konrad,
> >
> > Look at the AutoIncrement, AutoIncrementStep and AutoIncrementSeed
> > properties of DataColumn
> >
> > Stephen
> >
> > "Konrad" <(E-Mail Removed)> wrote in message
> > news:bfc3i0$6b8$(E-Mail Removed)...
> > > Hi
> > >
> > > How to change programatically column
> > > from primary key to
> > > autonumber?
> > >
> > > Thanks
> > > Konrad
> > >
> > >
> >
> >
>
>
|