Click here to Skip to main content
14,877,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How I can handle error in application when i am using a error text file to write the error .When same type of error is generate by many users at same time ?

Updated 29-Jun-12 1:21am

1 solution

handle the errors Using catch and try blocks
In that catchBlock,catch the ex and stroed in string with respective UserId or UserName.

before that create one text File in Bin,Then you save that exception string with respective userName or ID in that File.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900