error inserting

May 27 2010 11:18 AM
my primary key service_code is a autonumber..

when I insert data in my page I get this error: 
Error inserting 
LabelCannot insert explicit value for identity column in table 'SERVICES' when IDENTITY_INSERT is set to OFF. 

Why? 

--MS sql
--c#
--asp.net

Answers (4)