Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Working with GUID in WebForms


Message #1 by "Turid Tomren" <tmt@s...> on Thu, 31 Oct 2002 08:13:14
Is it possible to use uniqueidentity columns as primary keys (Microsoft 
SQL Server db) when making a Web Application ( Visial Studio .Net 
7.0.9466 ) ?? Is anybody doing that ?

I have a database where many of the tables have uniqueidentity columns as 
primary key. 

Example: A category table with the columns Id, and Description. The Id 
here is a foreign key in a vessel table. I want to present a list of all 
catagories in a DataGrid, and when a user clicks one of them, I want to 
present a list of all vessels with the selected category.

My problem is that I cannot bind the GUID to the grid. How should I do 
this ?

Please help ! Thanks!

Turid Tomren 

  Return to Index