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 class method?
Can you mark static constructor with access modifiers?
what is a structure in c#
What is difference between a constant and read-only in C#?
What are the new features in c# 2.0?
How to generate strong name key file or which command is used to generated strong name key file?
Can a loop recorder detect a heart attack?
What is lazy loading entity framework?
What is the difference between an integer and int?
HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only
0 Answers Petranics Solutions,
what is reference parameter? what is out parameters? what is difference these two?
9 Answers Bally Technologies, SPIC, Wipro,
Why is it a bad idea to throw your own exceptions?
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)