What is the difference between Debug.Write and Trace.Write?
When should each be used?
Answers were Sorted based on User's Feedback
Answer / prasad
Debug.write would not be compiled when the debug symbol is
defined
Trace.write would be compiled when the debug symbol is
defined
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / champion
Debug.Write & Trace.write - both works in Debug mode, while in Release Mode,Trace.write only will work .Try changing the Active Config property of Solution in Property page nd find the difference. Debug.write is used while debuging a project and Trace.write is used in Released verion of Applications.
Is This Answer Correct ? | 5 Yes | 1 No |
how to encrypt a connection string in web.config file?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
on modify statement, executeNonQuery returns zero rows affected even though there has been modification carried out sucessfully in the table.. can anyone tell me is this possible??? if yes, how..???
Page Life Cycle in ASP.NET
I need some questions regarding asp.net for 1.5yrs of Experience.
What is WebService ?
8 Answers Tanla Solutions, Yahoo,
How do we access view state value of this page in the next page?
Using code explain Configuration Management
What is data reader in asp.net?
Who is using asp.net?
i have one gridview contains edititemtemplate(which contains update and cancel buttons) and i have one item template (contains edit button) i want the code for update and cancelbuttons in edit item template and i want the code for edit button in itemtemplate. please help me
How to Open any web page by clicking any Any ASPControl like (Checkbox,radio button or Button) without calling its event and without going to Siverside code?