Dim customerId As Guid = CType(customerGrid
(customerGrid.CurrentRowIndex, 0), Guid)

customergrid is a grid control

The error that comes up is "Specified cast in not valid"

I don't know what to do. any ideas , if I am doing any mistake?

thanks
nath