作者ponyrabbit (也太捲了吧!!囧)
看板Visual_Basic
標題[.NET] 查詢DB資料
時間Wed May 7 20:28:23 2008
我要從現有的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