Page 1 of 1

DataLink.AddNew Problem

Posted: Mon 01 Sep 2008 17:15
by Zero-G.
Hey

I do use VB.NET SP1 and your latest controls

I use a DataLink in a form. - When I use: DataLink.AddNew(), I get an error, that the column ID is not allowed to have NULL
This is from my DataBase design, because ID is an AutoIncrement column.

How can I provide this error?

THX

Posted: Tue 04 Nov 2008 11:51
by Paul
We cannot reproduce this problem. Please check that properties of DataColumn as set correctly. For example, DataColumn.AutoIncrement==true and DataColumn.AutoIncrementStep have correct value.