May 07, 2016 06:11 AM|Fei Han - MSFT|LINK
The NullReferenceException that is thrown when there is an attempt to dereference a null object reference. Please debug your code to make sure if any object or value is null. As
Nataraj said, please make sure if e.Row.Cells(1).Controls(1) return the LinkButton object you want, and you could try to use FindControl() method to find the LinkButton.