patrick

patrick

  • NA
  • 397
  • 0

How to get GUID from a row

Jun 11 2009 12:35 PM
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)