Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

breakpoint problem

$
0
0

I have a datagridview in form1.When a button is clicked,form2 arises with form1 in open.

Im clearing all the rows of dgv from form2 and adding a new empty row into it.

While im executing sometimes it throws an exception in dgv.rows.clear().

Operation did not succeed because the program cannot commit or quit a cell value change.

When i use breakpoint to check, that exception is not thrown.

That exception is thrown sometimes only not all the times.

How can i find where the problem is???


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>