index > Windows Forms Sample Applications > Why DataGridView always throw an NullReferenceException when input value at the first time after pressing ESC ??????????????
Why DataGridView always throw an NullReferenceException when input value at the first time after pressing ESC ??????????????
I do not understand when I input value to DGV at the first time (DGV has no record ) and pressing ESC (cell still in Edit mode ) and the exception will be appear ... and this just happen at once during program running My DGV datasource is Datatable .. Some one can tell me why ???? Thank you
Jerry_lth Wednesday, November 21, 2007 4:33 AM
Hi Jerry_lth,
I cannot reproduce your problem, could you please provide more detail about this problem? Some code would be helpful. Thanks.
Best regards. Rong-Chun Zhang
Rong-Chun Zhang Monday, November 26, 2007 11:13 AM