SqlException class does'nt have public constructor(blog.developers.ba)
submitted by
logic_rabbit(90) 2 years, 11 months ago
I am currently preparing ado.net 3.5 course so I try to throw SqlException in one of my examples and realize that SqlException class is sealed and has no public constructor.
I have found solution on Rido blog http://blogs.msdn.com/rido how to create SqlException using reflection.
|category: ADO.NET
|Views: 7
tags:
ADO.NET Database another
Everyones tags:
Your Tags: