To access other Database tables from AX 2012 (using ADO.net)
Hi, The below code is used to connect the external DB to access tables from ax. (In this approach we eliminated the standard ODBC DSN configuration. which is time consuming process. because we have to setup the ODBC DSN in all client machine) static void GetCustomerInfoFromExternalDB(Args _args) { System.Data.SqlClient.SqlConnectionStringBuilder CSB; System.Data.SqlClient.SqlConnection con; System.Data.SqlClient.SqlCommand cmd; System.Data.SqlClient.SqlParameterCollection parmColl; System.Data.SqlClient.SqlDataReader ...