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 postback property in asp.net?
What is the difference between visual basic and asp.net?
What is base class of .net?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
How can we pass info between 2 asp.net pages?
What is the significance of attaching a profile while creating a user?
Is it possible to write code in many languages in one asp.net project?
What are the advantages of passport authentication?
Why is xap important?
To display data in a Repeater control which template you provide?
where can i gather the materials for MCP certification
What is the current version of asp.net?
IN an ASP.NET Web application if there is any error, how can you debug?
What is the file through which you can customize your asp.net application?
What is difference between or and orelse?