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
Can int be null in c#?
What is the difference between properties and indexer in c#?
State two different types of access modifiers.
Define an abstract class?
What is the difference between arraylist and list in c#?
What does return do in unity?
What is difference between Enum and Struct?
What is the default value of boolean variable?
What is string concatenation?
Explain the functionalities of satellite assembly?
What is dbml file in c#?
Is system a class in c#?
What is static class in C#?
Can You Prevent Your Class From Being Inherited By Another Class?
What is console application with example?