I think what Prashant means is that you would have to join the data from the database query into a single column.
SELECT ColName1+':'+ColName2 AS MyKeyField, [more fields] FROM...
Then use that single concatenated field as your primary key because it will be unique:
DataGrid1.DataKeyField = "MyKeyField"
-
Peter