how to handle errors in sqlserver
Answer / 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 |
What is super class in c#?
What is the meaning of int parse in c#?
What all details the assembly manifest will contain?
What is field in c#?
How do you set a class path?
What is routing in c#?
Explain About Iunknown interface Queue
What?s the difference between <c> and <code> XML documentation tag?
What is stringbuilder c#?
What is a shared assembly?
Is cli same as the clr?
What's the difference between the debug class and trace class? Documentation looks the same.