VB.Net, Catch "DataGridView Default Error Dialog" Exception
Posted on 2012-04-02
I am using VB.Net and datagridview.
In my gridview I have got three columns. And in the second and third column I have set the format to currency.
The main problem is, if there was any error raised, an DataGridView Default Error Dialog box is shown. But to avoid that error dialog box , data error Event is used.
But what I need is that I need to catch that error in a try catch block, but I don't know where to put the try catch block to catch the error.
The error occurs when I leave a cell blank and move to another cell