Writing trace information in a windows form app

后端 未结 5 762
小鲜肉
小鲜肉 2021-02-11 08:39

I know how to write trace statements that I can view in a webforms environment, but how do I do this in a windows forms app?

I am inside of a static method, and I want t

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-11 09:19

    Do you need to show it in your form? If not, you could just Trace.WriteLine() out the query and use DebugView to see it. I guess I need more info if that doesn't help.

提交回复
热议问题