zxWraith的窝
dotnet,Warcraft and life!

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

存储时,当字符存就可以

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

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

posted on 2006-04-14 08:55  zxWraith  阅读(763)  评论(0编辑  收藏  举报