uniqueidentifier data type
-
Hi, I am using Enterprise Library April 2007, and wanted to know what DbType is a uniqueidentifier data type?? Like when I have for example: db.AddInParameter(command, "@FirstName", DbType.String, info.FirstName); // Required How would I do it for a uniqueidentifier data type? Please can someone help me? Regards ma se
-
Hi, I am using Enterprise Library April 2007, and wanted to know what DbType is a uniqueidentifier data type?? Like when I have for example: db.AddInParameter(command, "@FirstName", DbType.String, info.FirstName); // Required How would I do it for a uniqueidentifier data type? Please can someone help me? Regards ma se
DbType.Guid
-
Hi, I am using Enterprise Library April 2007, and wanted to know what DbType is a uniqueidentifier data type?? Like when I have for example: db.AddInParameter(command, "@FirstName", DbType.String, info.FirstName); // Required How would I do it for a uniqueidentifier data type? Please can someone help me? Regards ma se
Hi, You should use DbType.Guid db.AddInParameter(command, "@FirstName", DbType.Guid, info.FirstName);