I would like to add some null's to table:
command.CommandText =
"INSERT into clients (Addres, companyID) VALUES (@Addres, @companyID) ; select SCOPE_IDENTITY();";
command.Parameters.AddWithValue("@Addres", null);
command.Parameters.AddWithValue("@companyID", null);
Table dessign allows null's. Why I have this error then?
The parameterized query '(@Addres nvarchar(4000),@companyID nvarchar(4000))INSERT into cl' expects the parameter '@Addres', which was not supplied.