How to populate MS flex grid with some recordset?
// This is the problem
m_cFlex.SetDataSource(LPDISPATCH(pRst));

Flex grid give me a message "Type mismatch". Anyone know why? What I need to write here?

pRst is variable ADOCG::_RecordsetPtr pRst;