开发者

Unbound Data Grid View

开发者 https://www.devze.com 2023-03-24 04:33 出处:网络
I have been trying to find a solution for this for a while but I\'ve only managed to find junk on outdated forums.

I have been trying to find a solution for this for a while but I've only managed to find junk on outdated forums.

I am using VB6 and I want to display data in a tabular form. I thought about using a DataG开发者_StackOverflow社区rid but I can't figure out how to add rows to the grid.

Note: The DataGrid is not bound to a recordset.

Is there any way to add the data to the GridView without storing it in a recordset. And is there a better VB6 control to use in this situation?


DataGrids are designed to be used bound to a data source, though it can be a custom data source object and not just an ADO Recordset.

For general display you might want to use the MSHFlexGrid (or the VB5 holdover MSFlexGrid).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号