[操作疑難] Visual Studio 2013 Error : Object reference not set to an instance of an object.

本帖最後由 X-Engineer 於 2016-8-8 18:00 編輯

Object reference not set to an instance of an object.
After pressing Start Debug in VS 2013, the error comes out.
What's the error?
Please help, thanks a lot!!

附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

Update

TOP

missing null checking on
row.Cells.Item("EDataGridViewTextBoxColumn1") and FHRForm.txtSearch

TOP

會唔會某一個row的Cells.Item("EDataGridViewTextBoxColumn1").Value是null?
如果係,咁再去ToString,咪產生null ref exception囉。

TOP