Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 9F6C72E004A for ; Tue, 1 Apr 2008 17:41:21 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 78703-02 for ; Tue, 1 Apr 2008 17:41:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smtpout04-03.prod.mesa1.secureserver.net (smtpout04-01.prod.mesa1.secureserver.net [64.202.165.196]) by developer.postgresql.org (Postfix) with SMTP id E93B82E002C for ; Tue, 1 Apr 2008 17:41:13 -0300 (ADT) Received: (qmail 23239 invoked from network); 1 Apr 2008 20:41:12 -0000 Received: from unknown (70.189.153.199) by smtpout04-04.prod.mesa1.secureserver.net (64.202.165.199) with ESMTP; 01 Apr 2008 20:41:11 -0000 From: "Charles S. Henkel" To: References: <003301c89432$7eee4800$7ccad800$@com> In-Reply-To: <003301c89432$7eee4800$7ccad800$@com> Subject: Re: VS2008: Simple DataGridView not populating Date: Tue, 1 Apr 2008 13:41:10 -0700 Organization: Henkel Technical Computing, LLC Message-ID: <004501c89438$b855f6a0$2901e3e0$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0046_01C893FE.0BF71EA0" X-Mailer: Microsoft Office Outlook 12.0 thread-index: AciUMn3485Q0cT5KQQez/oU//290agABZnpA Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200804/6 X-Sequence-Number: 9469 This is a multipart message in MIME format. ------=_NextPart_000_0046_01C893FE.0BF71EA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Solution: I'm sorry this is clearly not a psql-odbc issue. However, I wanted to follow up with a solution in case someone searches and finds my post. I corrected the problem by setting the Target CPU to "x86". In VS2008, go to Project->Project Properties...->Compile->Advanced Compile Options...->Target CPU: and set it to "x86". Works fine. Charles S. Henkel Henkel Technical Computing, LLC 9917 Laurel Springs Ave Las Vegas, NV 89134 (702)405-0945 Home (704)877-1966 Cell ------=_NextPart_000_0046_01C893FE.0BF71EA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Solution:<= /o:p>

 

I'm sorry this is clearly not a psql-odbc issue. However, I wanted to follow = up with a solution in case someone searches and finds my = post.

 

I corrected the problem by setting the Target CPU to = "x86".

 

In VS2008, go to Project->Project Properties...->Compile->Advanced Compile Options...->Target CPU: and set it to "x86". Works = fine.

 

 

 

Charles S. Henkel

Henkel Technical Computing, LLC

9917 Laurel Springs Ave

Las Vegas, NV  89134

(702)405-0945 Home

(704)877-1966 Cell

 

------=_NextPart_000_0046_01C893FE.0BF71EA0--