By Default, the property "Auto Generated Value" is not set, changing this fixes your problem. More info can be found here .
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
Nick Kusters
on
12-20-2007, 12:00 AM
Filed under: slq 2005, sql 2005, Sql 2005 .NET, SQL 2005 ASP.NET, SQL Server 2005, SQLServer, sqlserver 2005, ADO.NET, Database, Default value, error, error messages, insert, language, Microsoft SQL Server 2005, Database design, .NET SQL Server 2005, Primary Key, "SQL Server", .net 3.5, Linq, MSSQL, New ID, sql 2005 DBNull null value types, SQL 2005 Design