ODBC connection to Navision in .NET(C#)

Hello, I am using C# and Microsoft.Data.Odbc to connect to Navision 2.60 F. We have Navision Financials 2.60 Server. The driver (C/ODBC 32 bit) is configured with the server IP, Net Type = tcp, login and password. I am accessing the Database from C# with the DSN parameter. I’ve maked a System-DSN in Microsoft ODBC to the Navision server. “Microsoft.Data.Odbc.OdbcException: ERROR [IM001] [Microsoft][ODBC Driver Manager] The driver does not support this function” Can anyone help me with this? I added my code below. Regards Hans de Graaf protected Microsoft.Data.Odbc.OdbcCommand oCmd; protected Microsoft.Data.Odbc.OdbcConnection oConn; protected Microsoft.Data.Odbc.OdbcDataAdapter oDataAdapter; private void Page_Load(object sender, System.EventArgs e) { DataSet dSet = enterDatabase(“SELECT * FROM Aanmaanniveaus”); DataGrid.DataSource = dSet; DataGrid.DataBind(); } public DataSet enterDatabase(string query) { DataSet dSet = new DataSet(); oConn = new Microsoft.Data.Odbc.OdbcConnection(“DSN=Navision”); oCmd = new Microsoft.Data.Odbc.OdbcCommand(query,oConn); oDataAdapter = new Microsoft.Data.Odbc.OdbcDataAdapter(oCmd); oDataAdapter.Fill(dSet); return dSet; }