Hi Cor
Using this technique, would the rows already exisiting in the table have
values added to the new column?
Geoff
"Cor Ligthert" <notfirstname@planet.nl> wrote in message
news:O$p86bkbEHA.3664@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hi Geoff,
>
> Yes have a look here (I assume you know how to create an primarykey[/color]
column[color=blue]
> using the object)
>
>[/color]
http://msdn.microsoft.com/library/de...entcolumns.asp[color=blue]
>
> I hope this helps?
>
> Cor
>[color=green]
> > Can anybody help me with the following problem? I have a datasource i.e.
> > some data, which I'm accessing via some VB. This I have done; with the[/color]
> help[color=green]
> > of you guys. However, the original data, and so the dataset I'm working
> > with, does not have a primary key column. I would obviously like to add[/color]
> one.[color=green]
> > What is the easiest way to do this?
> >
> > My first idea was to simply add a column, which as far as I can see will[/color]
> be[color=green]
> > at the end of the existing columns of the dataset table, and then add[/color]
> unique[color=green]
> > values to the column i.e. iterate through each row of the table and add[/color][/color]
a[color=blue][color=green]
> > vaule to the new column I have created.
> >
> > Is there an easier or more efficient way of doing this?
> >
> > Thanks in advance
> >
> > Geoff
> >
> >[/color]
>
>[/color]