Solved my own problem. Seems its always the simple things are aproblem. The problem was with, Dim deleteButton as LinkButton =e.Item.Cells(0).Controls(0. Cells(0) should have been Cells(2) toreflect column position in the datagrid.