Click here to Skip to main content
15,913,836 members
Home / Discussions / C#
   

C#

 
GeneralClosing a crashed application. Pin
mcgahanfl8-Apr-04 4:29
mcgahanfl8-Apr-04 4:29 
GeneralRe: Closing a crashed application. Pin
Judah Gabriel Himango8-Apr-04 5:09
sponsorJudah Gabriel Himango8-Apr-04 5:09 
GeneralRe: Closing a crashed application. Pin
mcgahanfl8-Apr-04 8:46
mcgahanfl8-Apr-04 8:46 
GeneralC# ListView Control - Events Pin
Jacobus8-Apr-04 3:44
Jacobus8-Apr-04 3:44 
GeneralRe: C# ListView Control - Events Pin
Judah Gabriel Himango8-Apr-04 4:00
sponsorJudah Gabriel Himango8-Apr-04 4:00 
GeneralRe: C# ListView Control - Events Pin
Jacobus8-Apr-04 4:16
Jacobus8-Apr-04 4:16 
GeneralRe: C# ListView Control - Events Pin
Jacobus8-Apr-04 4:18
Jacobus8-Apr-04 4:18 
GeneralRetrieving data from Navision database using ODBC in a .NET application Pin
jvbragt8-Apr-04 3:08
jvbragt8-Apr-04 3:08 
We want to retrieve data from a Navision 3.70 C/Side database using .NET. We managed to create a DSN and retrieve data from the Navision database by using Excel or MSQuery.
When i try to read data from my .NET application using the same DSN i get an error:

ERROR[IM001][Microsoft][ODBC Driver Manager]Driver does not support this function

.NET code (C#)
=============
OdbcConnection conODBC = new OdbcConnection(“DSN=Sample C/ODBC 32 bit”);
conODBC.Open();

DataTable dt=new DataTable();

OdbcDataAdapter da = new OdbcDataAdapter("SELECT * FROM Klant", conODBC);
da.Fill(dt);
============================================================================
The first two lines successfully connect to the Navision database (which is specified in the DSN).
The last two lines should retrieve data from the database but instead they give the error.

Can anyone help?





GeneralRe: Retrieving data from Navision database using ODBC in a .NET application Pin
Samuel Chen8-Apr-04 6:14
Samuel Chen8-Apr-04 6:14 
GeneralPlugging in custom provider Pin
rana748-Apr-04 2:23
rana748-Apr-04 2:23 
GeneralRe: Plugging in custom provider Pin
Heath Stewart8-Apr-04 5:15
protectorHeath Stewart8-Apr-04 5:15 
QuestionToString to print HEX??? Pin
Anonymous8-Apr-04 2:15
Anonymous8-Apr-04 2:15 
AnswerRe: ToString to print HEX??? Pin
Dave Kreskowiak8-Apr-04 2:43
mveDave Kreskowiak8-Apr-04 2:43 
GeneralRe: ToString to print HEX??? Pin
Heath Stewart8-Apr-04 5:12
protectorHeath Stewart8-Apr-04 5:12 
GeneralCommon Toolbar Images Pin
Brian Delahunty8-Apr-04 1:59
Brian Delahunty8-Apr-04 1:59 
GeneralRe: Common Toolbar Images Pin
Heath Stewart8-Apr-04 5:11
protectorHeath Stewart8-Apr-04 5:11 
GeneralRe: Common Toolbar Images Pin
Brian Delahunty11-Apr-04 7:44
Brian Delahunty11-Apr-04 7:44 
GeneralRe: Common Toolbar Images Pin
Heath Stewart11-Apr-04 16:57
protectorHeath Stewart11-Apr-04 16:57 
Generalloading error...please help. Pin
Anonymous8-Apr-04 0:21
Anonymous8-Apr-04 0:21 
GeneralRe: loading error...please help. Pin
Heath Stewart8-Apr-04 5:08
protectorHeath Stewart8-Apr-04 5:08 
Generalselect a value in a datagrid Pin
TweeZz8-Apr-04 0:19
TweeZz8-Apr-04 0:19 
GeneralRe: select a value in a datagrid Pin
Heath Stewart8-Apr-04 5:06
protectorHeath Stewart8-Apr-04 5:06 
GeneralRe: select a value in a datagrid Pin
TweeZz8-Apr-04 5:09
TweeZz8-Apr-04 5:09 
Generalconnection timout Pin
Anonymous7-Apr-04 23:19
Anonymous7-Apr-04 23:19 
GeneralRe: connection timout Pin
Mike Dimmick8-Apr-04 2:04
Mike Dimmick8-Apr-04 2:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.