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
What is the difference between table and query?
Give some salient points of difference between request processor and request dispatcher.
What is application variable in asp.net?
What is the good practice to implement validations in aspx page?
What is a session in programming?
Explain About WebService
What is the appSettings Section in the web.config file?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
Describe the difference between inline and code behind - which is best in?
What are tuples?
What is side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?
Whats the difference between abstract factory pattern and factory pattern?
Where is the view state data stored in asp net?
Explain the advantages of asp.net.
What is a Cookie? Where is it used in ASP.NET?