Answer Posted / minhajul islam
using try block we can trap the error as follows
try
{
//Datanase coding
}
catch(SQLException e1)
{
//Here you will get SQL Error message in e1 instance
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
List down the sequence of methods called during the page load.
Which two new properties are added in asp.net 4.0 page class?
IN an ASP.NET Web application if there is any error, how can you debug?
How do u deploy your asp.net application?
How can you make sure that web api returns json data only?
How tooltip is set through code-behind in ASP.NET?
What is the difference between asp.net and mvc?
How do you implement postback with a text box?
What is application session?
What is marshalling ? Is it a part of asp.net ?
Distinguish between Server-side and Client-side code?
Define web services in asp.net.
Define the types of configuration files.
How Session use Cookies in State Management?
What are sql joins?