Asp.net - How to find last error which occurred?
Answer / p.ramakrishna
Exception LastError;
String ErrMessage;
LastError = Server.GetLastError();
if (LastError != null)
ErrMessage = LastError.Message;
else
ErrMessage = "No Errors";
Response.Write("Last Error = " + ErrMessage);
| Is This Answer Correct ? | 14 Yes | 0 No |
Whta are the Various steps taken to optimize a web based application (caching, stored procedure etc.) ?
Why will you usually create an aspnet user account in the database for an asp.net web application?
Explain the path instructions in xaml?
can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com
How to send data through querystring to another page but it should not be displayed in URL
What does the "EnableViewState" property do? Why would I want it on or off?
2 Answers Photon Infotech, Siebel Systems, Syntax Softtech,
what is SAP fullform
161 Answers A3Logics, Amazon, DFD, Federal Mogul, Hol Info, IBM, Infosys, Jai Ganesh, Kesri Metal, Lupin, Microsoft, RPG, SAP Labs, SRS Group, TCS, Videocon,
How do you add a javascript function for a link button in a datagrid ?
Why do we need master page in asp.net?
version information is mentioned in which file
Less than one page, how many windows will you be able to maintain?
What is latest version of asp.net mvc? : Asp.Net MVC
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)