For example, if I have an Access Database Data.accdb with 2 tables inside: Table1 and Table2, how can I read data from Table1? I know how to open the Sql connection though.
#using <system.data.dll>
using namespace System::Data;
using namespace System::Data::SqlClient;
using namespace System::Data::OleDb;
SqlConnection ^connection = gcnew SqlConnection(L"server=local;Trusted_Connection=yes;database=Data;");
connection->Open();
But beyond that, I don't know what to do next. How to open Table1 and read data from it, like read ID column?