asp.net: how do I detect if debug mode is true or false ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I which to detect in my code if compilation has debug enabled ?
I would different behaviours according to the compilation type.
 
You can check using code like

#If Debug = False Then
Me.Text = ""
#End If)

Shahzad Godil
Karachi-Pakistan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top