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 are the Types of values mode can hold session state in web.config
What does namespace mean?
Does c# support c type macros?
How do switch statements work?
Is array ienumerable c#?
Can we change static value in c#?
can multiple catch blocks be executed for a single try statement?
Why do we use methods in c#?
Why do we use dictionary in c#?
What does args mean in c#?
What is view model in c#?
Why do we need static in c#?
Why do we write system in c#?
Is typeof c#?
Is string immutable in c#?