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 appSettings Section in the web.config file?
Distinguish between Server-side and Client-side code?
What is application variable in asp.net?
Can we have a web application running without web.config file?
Why viewstate is used in asp.net?
Explain about ASP.NET?
What does occur first in ASP.Net, Authentication or Authorization?
What is manifest in .net framework?
Why we use content place holder in asp.net?
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
What should you do is you want to remove an existing component but would like to make some funtionalities?
Define tracing.
What is a global postback url?
What is the use of ASP.NET routing?
there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?