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
Is and as keyword in c# net?
What is the use of iqueryable in c#?
Explain more on CLR
Explain the accessibility modifier protected internal?
What is type class in c#?
What are functions in c#?
what are some characteristics of an array?
What is the meaning of int parse in c#?
What does return do in for loop?
What is the use of partial methods?
What is a copy constructor in c#?
What is deferred execution in c#?
Explain how is the dll hell problem solved in .net?
What is difference between ienumerable and list?
How to use the sreamReader class to read form a text file?