Hello,
In an old MFC tool, I used following code to determine all tables in an ODBC connection.
// Get a list of the tables
CTables rs(&m_db);
rs.Open(NULL, NULL, NULL, "TABLE"
// Cycle through all the tables
CString strTableRef;
while (!rs.IsEOF())
{
}
How can I achieve this in C# (either with ODBC or OLE-DB)?
More generally spoken, is there some 'migration guide' with a reference table between MFC classes and the C# alternative ?
Regards
Luc
In an old MFC tool, I used following code to determine all tables in an ODBC connection.
// Get a list of the tables
CTables rs(&m_db);
rs.Open(NULL, NULL, NULL, "TABLE"
// Cycle through all the tables
CString strTableRef;
while (!rs.IsEOF())
{
}
How can I achieve this in C# (either with ODBC or OLE-DB)?
More generally spoken, is there some 'migration guide' with a reference table between MFC classes and the C# alternative ?
Regards
Luc