with a RAISERROR('Zone value cannot be NULL. Please provide a valid value.',16,1) from my SP in SQL SERVER but when I get the error in the system This message does not appear, could you guide me what I am doing wrong? I want to know if it is at the code level or at the level of my database
As per message pExportarRegistorosVendedor expects parameter means you need to pass parameters which are required.
In c# code level you need to catch SqlException or Exception type for raiserror.