I have the following query
DS = SqlHelper.ExecuteDataset(ConfigurationManager.AppSettings("ADOConnectionString"), CommandType.StoredProcedure, "duMaurier", params)
I want to call this in a try
Catch ex As Exception
Return "this"
End Try
How do I return a specific message of the error that prevents it running?
Return ex.Message?