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
What is the difference between == and object.equals?
Why do we use static methods in c#?
Define a class and an object?
what is object-oriented programming (oop) language?
Can a class have static constructor?
What is multidimensional array in c#?
What is difference between method overriding and method overloading?
What is a class level variable in c#?
What is a protected class in c#?
What does == mean in c sharp?
Where is the keyword void used?
What are Memory foot print of an exe?
What does do in c#?
Can we set image Source dynamically using C# in WPF application?
Explain About Virtual functions and their use.