🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database.dotnet
Article #111

Re: BDP problem

#111
From: Guido Cavalera
Date: Tue, 29 Aug 2006 15:27
56 lines
3292 bytes
dear bob, i've already tryed to create a new dataadapter and setting the 
connection , but only
'Object reference not set to an instance of an object ' ERROR ...

I want say u that in delphi 2005 with all upd, this gone fine, but in D2006 
upd2+fixed NOT ! Why ? , i think this is an IDE error to fix...

u can refer also to an other post :

http://groups.google.it/group/borland.public.delphi.aspdotnet.general/browse_thread/thread/9399524a1db9a0ce/6dd03773a5256458?lnk=st&q=bdpdataadapter+connection+object+reference+error&rnum=3&hl=it#6dd03773a5256458


BYE

-- 
Guido Cavalera
www.OnAzienda.it
"Bob Swart" <b.swart@chello.nl> ha scritto nel messaggio 
news:44F430F0.2000507@chello.nl...
> Hi Guido,
>
>> i have an asp net project and i put a BDPConnection setting the 
>> connection
>> str: that ok !
>> when i put a BDPDataAdapter and i try to set a connection :
>
> What do you want to connect? The BdpConnection can act as Connection 
> property for the SelectCommand, InsertCommand, DeleteCommand and/or 
> UpdateCommand of the BdpDataAdapter, but you have to create an instance of 
> these before you can assign their Connection property.
>
>> 'Object reference not set to an instance of an object ' ERROR
>
> Otherwise you might indeed get the above error (the BdpCommand is not yet 
> assigned)
>
> Just select the BdpDataAdapter (click on it) and then click on the 
> "Configure DataAdapter" link at the bottom of the Object Inspector. This 
> will start the BdpDataAdapter Configuation Dialog that you can use to 
> create the Select, Insert, Update and Delete commands (just check the 
> checkbox of the commands you want). Note that the BdpConnection component 
> will automatically be selected as the Connection property value for all 
> BdpCommands that you use here (if there are multiple available 
> BdpConnection components you can use the drop-down combobox to select 
> one).
>
> For more info and a screenshot, see the "Configure Data Adapter" section 
> of http://www.drbob42.com/examines/examin52.htm
>
> Groetjes,
>           Bob Swart
>
> -- 
> Bob Swart Training & Consultancy (eBob42.com)  Forever Loyal to Delphi
> Blog: http://www.drbob42.com/blog - RSS: http://drbob42.com/weblog.xml
> New Delphi 2006 Courseware e-books at http://www.eBob42.com/courseware 
Technical Details
Message-ID: <44f45cd3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44f3235a$1@newsgroups.borland.com> <44F430F0.2000507@chello.nl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,e566cc91a1f67169
X-Google-Attributes: gid1effe6,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Guido Cavalera" <cavaleraguido@novet.it>
Newsgroups: borland.public.delphi.database.dotnet
References: <44f3235a$1@newsgroups.borland.com> <44F430F0.2000507@chello.nl>
Subject: Re: BDP problem
Date: Tue, 29 Aug 2006 17:27:21 +0200
Lines: 58
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 62.94.41.143
Message-ID: <44f45cd3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1156865235 62.94.41.143 (29 Aug 2006 08:27:15 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail