zxWraith的窝
dotnet,Warcraft and life!
posts - 12,comments - 10,trackbacks - 0

读取uniqueidentifier类型变量,string就行了,如
string strGuidValue = dataTable.Rows[i]["GUIDField"].ToString();

存储时,当字符存就可以

string strGuidValue = System.Guid.NewGuid().ToString()

Insert Into table(GuidField,...) Values(strGuidValue,...)

posted @ 2006-04-14 08:55 zxWraith 阅读(464) 评论(0) 编辑