DataGrid control displaying blank first cell when bounded with ADO
From: Jacob (Jacob_at_discussions.microsoft.com)
Date: 06/14/04
- Next message: Jaime Stuardo: "Re: Question about expanding a CTreeCtrl"
- Previous message: Alexander: "Problems repainting the child windows (SDI Application + OpenGL)"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Jun 2004 04:25:01 -0700
I am preparing an MFC based dialog application using Visual Studio 2003 VC++ IDE. On my dialog, I am having DataGrid (DataGrid ActiveX control - Ver 6.0 (SP5)) and ADODC (Microsoft ADO Data Control - ver 6.0 (SP 4)) controls.
The ADODC control is connected to an Microsoft Access Database using Jet.OLEDB4.0 provider. And DataGrid is bounded to the ADODC.
The dialog box displays both the control, with the data from the table too. However, the first cell (1st row and 1st column) in the DataGrid control is always shown as blank.
And when the Dilaog box is closed, an exception is thrown
"Unhandled exception at 0x77f75a58 in MFCApp.exe: User breakpoint." And if opted for "Break" option, "free.c" file is opened in the IDE in readonly mode at line number 103.
Also, the same application can be created in VC++ 6.0 IDE without any problem by following the same steps.
- Next message: Jaime Stuardo: "Re: Question about expanding a CTreeCtrl"
- Previous message: Alexander: "Problems repainting the child windows (SDI Application + OpenGL)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|