Link to home
Start Free TrialLog in
Avatar of vj_mi
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
Avatar of abel
abel
Flag of Netherlands image

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
Avatar of abel
abel
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial