You need to query each database separately. You can put the result of each query into its own DataTable within the same DataSet, and create a relationship between them using DataRelations:
http://msdn.microsoft.com/en-us/library/ay82azad(v=vs.71).aspx
The reason this won't work with a SqlDataSource is that the DataSet that the SqlDataSource control generates only holds one DataTable.
Marked as answer byAnonymousThursday, October 7, 2021 12:00 AM