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 |
Which config file has all the supported channels/protocol?
Explain the difference between const and static read-only?
what are wrapper classes?
What is indexer c#?
How to open a new form on button click in Windows forms?
What is a property c#?
Is arraylist faster than linkedlist?
an object,class is value type or refarance type. ?
When should we use delegates in c#?
How?s the DLL Hell problem solved in .NET?
Overloaded constructor will call default constructor internally?
What are the commonly used i/o classes?
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)