jamie_pattison
Well-known member
- Joined
- Sep 9, 2008
- Messages
- 116
- Programming Experience
- Beginner
In my database table i have a field that is of type UniqueIdentifier. I then have a tableadapter in my dataset (of course in a project) that contains a query as below
select name, address1, address2 from myTable where ID=@ID
ID is the field that is of type UniqueIdentifier. When i run the above query (by selecting Preview data) i get the error "failed to convert parameter value from string to guid"
How could i resolve this?
Thanks
select name, address1, address2 from myTable where ID=@ID
ID is the field that is of type UniqueIdentifier. When i run the above query (by selecting Preview data) i get the error "failed to convert parameter value from string to guid"
How could i resolve this?
Thanks