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 float in unity?
What is the purpose of static?
What are callback methods in c#?
What is a protected class c#?
How does yield return work c#?
What is the difference between an application domain and a process?
What is class method c#?
Why do we need collections in c#?
How can you access a private method of a class?
Which namespace is required to implement trace ?
Can property be private in c#?
How does split work in c#?
What is difference between abstraction and encapsulation in c#?
What is the base class from which all value types are derived?
What is a reference type c#?