GetRows: Recordset GetRows Sample

Click to open or copy the files for the GetRows sample.

This C/C++ sample demonstrates the use of the Recordset object's GetRows method to retrieve all the rows of a rowset into a 2-dimensional array of variants.

Building SDK Samples

This sample uses the following keywords:

_t; addstring; afxgetapp; afxmessagebox; allocsysstring; appendmenu; assert; begin_message_map; caboutdlg; cdialog; cgetrowsapp; cgetrowsdlg; clear; cocreateinstance; coinitialize; dc; declare_message_map; dodataexchange; dogetrows; domodal; drawicon; empty; enable3dcontrols; enable3dcontrolsstatic; end_message_map; failed; getclientrect; getdlgitem; getrows; getsafehdc; getsystemmenu; getsystemmetrics; height; initinstance; isempty; isiconic; loadicon; loadstring; movefirst; on_bn_clicked; on_command; on_wm_paint; on_wm_querydragicon; on_wm_syscommand; onexecute; oninitdialog; onpaint; onquerydragicon; onsyscommand; open; put_source; putref_activeconnection; release; resetcontent; safearraygetelement; safearraygetubound; sendmessage; seticon; sysfreestring; variantchangetype; width; wsprintf