vj_mi
asked on
Getting error line nuber in ASP.Net - C#
Hello,
How do I get the exact line number that has resulted in an exception?
Regards,
MI
How do I get the exact line number that has resulted in an exception?
Regards,
MI
You don't. You can use the .Stacktrace to find it, and the .Source to know the right file. There are tools that fill this gap, though.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.