Did anybody ever use MSFlexGrid control in VC++ before?
-
Hi, as the title. Can you give me a sample or some links? Thank you. More details: FlexGrid binds to a Recorderset, which opened with SQL cmdText not table. How can I performance this?
-
Hi, as the title. Can you give me a sample or some links? Thank you. More details: FlexGrid binds to a Recorderset, which opened with SQL cmdText not table. How can I performance this?
Kamp Huang wrote: Did anybody ever use MSFlexGrid control in VC++ before? Yes, it sucks - next question.... Seriously you can't *bind* a flexgrid to a recordset, you need to go through and copy the data into the grid. Save yourself some grief and download Chris Maunders most excellent grid control instead. You'll still need to handle copying data into and out of the grid, but it is a LOT nicer and more flexible. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now
-
Hi, as the title. Can you give me a sample or some links? Thank you. More details: FlexGrid binds to a Recorderset, which opened with SQL cmdText not table. How can I performance this?
This sample uses the MS FlexGrid http://www.codeproject.com/database/isqlado.asp
-
This sample uses the MS FlexGrid http://www.codeproject.com/database/isqlado.asp
Thanks a LOT!:rose:
-
Kamp Huang wrote: Did anybody ever use MSFlexGrid control in VC++ before? Yes, it sucks - next question.... Seriously you can't *bind* a flexgrid to a recordset, you need to go through and copy the data into the grid. Save yourself some grief and download Chris Maunders most excellent grid control instead. You'll still need to handle copying data into and out of the grid, but it is a LOT nicer and more flexible. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now
Copy the datas one by one?:confused:
-
Copy the datas one by one?:confused:
Kamp Huang wrote: Copy the datas one by one? Yes, I've not seen any samples that auto fill a grid for you. If I'm wrong, please correct me, but I've never seen it happen by itself. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now
-
Kamp Huang wrote: Copy the datas one by one? Yes, I've not seen any samples that auto fill a grid for you. If I'm wrong, please correct me, but I've never seen it happen by itself. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now
:) I've never found that too. Thanks for your reply. It seems that I'd better shift back to DataGrid control.
-
This sample uses the MS FlexGrid http://www.codeproject.com/database/isqlado.asp
I have another stupid question now. I've downloaded this sample and traced it. but I can't find where the code of putting data into the FlexGrid. I also know that the methods, SetTextMatrix() and SetText(), which can performance that job. But how the sample does that without those methods?:confused:
-
:) I've never found that too. Thanks for your reply. It seems that I'd better shift back to DataGrid control.
See my sample on MS Data Grid, That Auto fills data for you. http://www.codeproject.com/useritems/msdatagrid.asp MS Data Flex Grid is used with ODBC and non OLE DB data sources. MS Data Grid is used for OLE DB data sources.
-
See my sample on MS Data Grid, That Auto fills data for you. http://www.codeproject.com/useritems/msdatagrid.asp MS Data Flex Grid is used with ODBC and non OLE DB data sources. MS Data Grid is used for OLE DB data sources.
Thanks, I've read your excellent article before. :rose: But there is a strange thing in DataGrid. When I called SetRow() method, I failed set to the row that existed but not visible in current scroll range. Do you know why?:confused:
-
Thanks, I've read your excellent article before. :rose: But there is a strange thing in DataGrid. When I called SetRow() method, I failed set to the row that existed but not visible in current scroll range. Do you know why?:confused: