Answer Posted / kiran vaidya
There is a separate class provided by .Net framework to
handle sql exceptions (errors).
try
{
.......
//Sql Operations
.......
}
catch(SqlException e)
{
//You can have all details of your sql exception by
//the object e.
}
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How can we set class to be inherited, but prevent the method from being over-ridden?
How is method overriding different from overloading?
What is private protected in c#?
What is the diff between System.String and System.Text.StringBuilder classes?
What is instantiating a class?
Which .gang of four. Design pattern is shown below?
What is an expression in c#?
How to prevent the error while updating ui control from another thread?
What is difference between .net and c#?
Illustrate serialization?
Define interface class in c#?
How do I create a .exe file?
What is asax file in c#?
What is serialization in dot net?
What are the advantages of using assemble language programming?