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
Printable View
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
Not sure what exactly you are converting there... but in a standard way... you create a guid from a string this way:
VB Code:
Dim x As Guid = New Guid(mystring)