Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C++
//connect with database
m_pcDBManager = new CSDBManagerIf("DBManager", GetLog());

if(m_pcDBManager->IsValid())
{
  if(((*m_pcDBManager)->OpenSQLiteDBconn("C:\\File1"))== S_OK)
  {
    (*m_pcDBManager)->SQLiteSelectCondition1("Data", 1, &nRow, &values, "Field1='abc'" ,"Field1");
  }
}

In the above code I am able to receive the values from database File 'File1' of table 'Data' in '&values'. I want to convert the string array into xml string format without writing it into any XML file.
Please guide me with the code,how to proceed further.
Posted
Updated 1-Jul-15 2:45am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900