Based on the Exception type, the GetMessage() method can return specific messages based on the exception itself. One of the more common uses is to override the SqlException messages with one that is ...
[WebMethod] public int ehSearchs_insert(ehSearchs row) { System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand("ehSearch_insert", new System ...