string subject= "INSERT INTO Subjects(ThesisNo,[Subject])VALUES(2 ,@subject)"; SqlCommand commandSubject = new SqlCommand(s