template <class TString, class TChar>
bool CR2XML<T>::GetXMLRow(TString& strXMLData, const TChar * strRowAttr, HROW hRow=0);

Return Value

        true if successful; or false if failed.

Parameters

        [out] strXMLData:

                A string by reference to receive the XML string data of a row. The template TString could be CString, _bstr_t, CComBSTR, AnsiString, WideString and any other string classes which can handle char/wchar_t conversion properly.

        [in] strRowAttr:

                A string which will be inserted into the XML string data of a row. See the example R2XML.

        [in] hRow:

                A handle to a row.

Remark

        Calls this function to convert one record into a XML string. The string could be any wrapper which is able to handle char/wchar_t conversion properly. For how to use the function, see the example R2XML.

CR2XML Class Overview & Class Members