How can one display two tables in a 开发者_如何学运维single MSFlexgrid control in VB6?
You can add anything to the flexgrid.
The only thing that you have to do is
flexGrid.AddItem ""
This adds a new row to the FlexGrid. Now you have to add the information to each cell. For each cell, set
flexGrid.Row = row
flexGrid.Col = col
and then add the information to the cell with:
flexGrid.Text = info
So, you have to iterate through your tables and add your data to the flexGrid.
精彩评论