I have a typed dataset set that I fill by scrapping an HTML page, and getting the information I need.

I fill my datatable with 600 odd rows, then call my dataadapter to update the Database. The problem is that it adds the first row, but not any other of the rows. I get this error message

"Column 'PriceID' is constrained to be unique. Value '6' is already present." The row that is added to the database is given the PriceID of 6.

The PriceID field is the primary key, Autoincrement field on a SQL Server database. My typed dataset is auto generated by VB.Net and I've not had problems with the mass inserts of data in the passed.
VB Code:
  1. Dim dt As ds.PricesDataTable = ds.Ds1.Prices
  2.         For Each cp In HS.Prices
  3.  
  4.              Dim dr As ds.PricesRow = dt.NewPricesRow
  5.              dr.ProductID = cp.ProductID
  6.              dr.CurrentPrice = cp.Price
  7.              dr.UpdateTime = CDate(Format(Now, "dd/MM/yyyy"))
  8.              dt.Rows.Add(dr)
  9.         Next
  10.  
  11.         Try
  12.             ds.PricesDA.Update(ds.Ds1.Prices)
  13.         Catch ex As Exception
  14.             Debug.WriteLine(ex.Message)
  15.         End Try