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 the following code legal?
Can dictionary have duplicate keys c#?
What is the use of the dispose method in C# ?
What is the C# syntax to catch any possible exception?
What debugging tools come with the .NET ssSDK?
How many bytes is an int in c#?
How to implement delegates in c#.net
What is action c#?
What is the difference between and xml documentation tag?
What is constructors, explain with syntax
What is difference between gridview and form view?
What are winforms in c#?
Do events have return type c#?
What is class in oops with example in c#?
What is monitor in C#?