programmerbrian
Programmer
Hello, I'm looking for a way to display some information from a select stmt, 3 coloumns using a recordset.
I tried to do this with a data grid:
dgdOne.DataSource = adoRecord.open"select col1, 2, 3 from table", DB,static,pessimistic
It doesnt work.
I know that you need to connect to the DB with a data control and then set the datagrids datasource to point to it, but I dont want to do this.
i guess I'm looking for a built in vb6 control that will display my query results in columns, and look nice too. ie no lstboxes with dashes separating the coloums.
Any suggestions?
I tried to do this with a data grid:
dgdOne.DataSource = adoRecord.open"select col1, 2, 3 from table", DB,static,pessimistic
It doesnt work.
I know that you need to connect to the DB with a data control and then set the datagrids datasource to point to it, but I dont want to do this.
i guess I'm looking for a built in vb6 control that will display my query results in columns, and look nice too. ie no lstboxes with dashes separating the coloums.
Any suggestions?