Home > Net >  C # form cannot execute code, please answer
C # form cannot execute code, please answer

Time:09-30

In VS written in c # form, connect to a SQL database, you can run, also did not show errors and exceptions, but writing code as if does not exist, cannot execute code, which a great god can solve, be urgent!

CodePudding user response:

To bind to the UI events

CodePudding user response:

Ever try catch a code ate the anomaly, you run the program and new compilation is the same

CodePudding user response:

Can send up to look at it, the code so that we can try again on my machine if there is a problem,

CodePudding user response:

Breakpoint debugging, the key position output, such as writing log, track where the execution

CodePudding user response:

Next breakpoint see is red or white if the white is to regenerate the program
Or see if the code is invoked

CodePudding user response:

So general description is hard to know your problem, the code is sent,

CodePudding user response:

1 there is no method is called
There is something wrong with the 2 methods of execution logic
3 your programming, shouldn't debugging?
  •  Tags:  
  • C#
  • Related