6
Answers

How to get GUID from a row

Photo of patrick

patrick

15y
19.2k
1
i tried to cast it, it throws an error. This is the row definition
ID UniqueIdentifier NOT NULL
this is the cast
empGUID = (Guid)rstEmployees.Fields["ID"].Value;
Would it make sense to anyone that it worked last night and stopped working today...I dont even think anything changed.

Answers (6)