🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.database
Article #95

Re: Data Binding with ADODC y ADO DATAGRID

#95
From: PJ
Date: Wed, 04 Jun 2003 08:36
20 lines
1758 bytes
After you set the connection and datasource properties you need to
invoke
the .refresh method of the ado data control for it to actually fetch
the data. You don't need to do anything to the datagrid it refreshes
by itself when the data control refreshes.


"T.P. Jos�as Galv�n Reyes" <josias.galvan@intti.com> wrote in message news:<3ECD4651.5020304@intti.com>...
> Hello, I'm having problems to load data in a ado datagrid...
> 
> At design time, i set the data source of the datagrid to adodc1 (ado 
> data control)... And at run time, i set the recordsource and connection 
> string to the adodc, it works, but the grid doesn't show anything...
> 
> Now, when I trie to use datagrid.Rebind, it fails "Cant Initializate 
> Data Bindings" ...
> 
> Can some one help?
> 
> Sguindaw
Technical Details
Message-ID: <b398c641.0306040036.705300de@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <3ECD4651.5020304@intti.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1053fc,260c6b7f9e1b4fc6
X-Google-Attributes: gid1053fc,public
X-Google-Thread: 1143a7,260c6b7f9e1b4fc6
X-Google-Attributes: gid1143a7,public
X-Google-ArrivalTime: 2003-06-04 01:36:43 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: paul_james_hayward@hotmail.com (PJ)
Newsgroups: comp.lang.basic.visual.database,es.comp.lenguajes.visual-basic
Subject: Re: Data Binding with ADODC y ADO DATAGRID
Date: 4 Jun 2003 01:36:42 -0700
Organization: http://groups.google.com/
Lines: 20
Message-ID: <b398c641.0306040036.705300de@posting.google.com>
References: <3ECD4651.5020304@intti.com>
NNTP-Posting-Host: 212.135.212.210
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1054715803 32358 127.0.0.1 (4 Jun 2003 08:36:43 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 4 Jun 2003 08:36:43 GMT