I have two tables test1 { id, name } and test2 { id, name, family } and I write this query:
SELECT dbo.test1.*, dbo.test2.*
FROM dbo.test1
CROSS JOIN dbo.test2
but in datagridview1, I want to show the fields (on header) like this:
test1.id test1.name test2.id test2.name test2.family,
but instead they are displayed like this
id name id name family
which changes are needed for my query.
You’ll need to select the columns individually, and use the
askeyword: