PDA

View Full Version : DataGrid 6.0 and SQL


Craf
10-02-2003, 04:54 AM
hi!

is it possible to load the cells of a DataGrid 6.0 control from more than 1 table without using ADO? If so, then can any1 pls show me?

tnx n advnce!

:)

TheBeansprout
01-21-2004, 03:24 PM
Hmm....only thing I can think of is to use two datagrids?

But I've only just started VB + SQL stuff.

quatu
01-22-2004, 12:47 PM
What do you mean? Can you be more specific?

If you want to combine two SQL queries together you can use UNION:

strSQL = "SELECT Fname, Lname FROM Users " & _
"UNION SELECT Id, Name FROM Roles"