I was wondering if anyone had a more elegant way to check for unique key exceptions from SQL in .NET other than parsing the error message? Right now I am calling the sproc
Why don't you just query if the unique id exists ? It's better then getting exception.