|In Windows form , I'm displaying a Project_Table using tableAdapterManager.
I followed as per http://www.youtube.com/watch?v=3w2JkLcp-UA[^]
Project_Id int Primary Key with Identity specification as identity
In the code
private void project_TableBindingNavigatorSaveItem_Click(object sender, EventArgs e)
I'm getting error Cannot insert explicit value for identity column in table 'Project_Table' when IDENTITY_INSERT is set to OFF
Even after executing following script I'm getting same error.
SET IDENTITY_INSERT [dbo].[Project_Table] ON
Another table Phases_table has dependency on Project_Table through FK constraint. Is the error because of this constraint?
Are there any sample examples on C# with MSSQL database which use multiple windows forms with multiples table linked in an hierarchy?