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 meant by generics in c#?
what is serilization?
What is meant by clr?
Why do we use public static void main in c#?
What is different between Implicit conversion and Explicit conversion in C#?
Can abstract classes be final?
What is immutable in C#?
0 Answers SwanSoft Technologies,
Can hashtable have duplicate keys in c#?
What is the raise event used for?
What is array collection?
What is a static class in c#?
Is a games console a computer?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)