Use DataItem.Eval() method to get value of VID column of current row in grid view. First parameter is current row's DataItem object and the second parameter is the column name.
Error raised because, e.Row.DataItemIndex is an object and not a Method to call and pass column name to get value. So Use following sample code: