Now,I created upper that table and in order to test I will give 3 textboxes values as below.
SqlCommand cmd = new SqlCommand
("Insert Into dbo.PrnInf(PrnName, PrnSurName, PrnEgn ) Values
('"+txtPrnName.Text+", "+txtPrnSurName.Text+","+txtPrnEgn.Text+"')", conn);
cmd.ExecuteNonQuery();
However,I'm getting the error in the "cmd.execute".Also,I defined the primary key and identity specification on the primary key. the moral of the story,is it require to fill all tables inside of the database?
Best Regards,