看板 Visual_Basic 關於我們 聯絡資訊
我要從現有的table裡查詢資料,可是我不知道資料型態為何 當我用 .GetString(0) 時會出現 Unable to cast object of type 'System.Guid' to type 'System.String' 這樣的 error message,可是改成 .GetGuid(0)似乎又無此指令 請問Guid 是什麼?? -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 211.20.121.178
regionbbs:.GetValue(0).ToString() 05/08 09:39
regionbbs:GUID 是 uniqueidentifier,一組 128 位元的識別碼 05/08 09:39