Code:

SqlParameter parameter = adapter.InsertCommand.Parameters.Add("@№ загс", SqlDbType.Nchar, 10, "№ загс"); 

Mistake:

 Error 1 'System.Data.SqlDbType' does not contain a definition for 'Nchar' 

The database is worth Nchar prescribed and then Nchar What swears?

    1 answer 1

    Because NChar, well, there are hints in any IDE

    • @ yolosora thanks! - user298554