🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.basic.visual.database
3 messages
3 total messages Started by "T.P. Josías Galván Reyes" Thu, 22 May 2003 21:51
Data Binding with ADODC y ADO DATAGRID
#96
Author: "T.P. Josías Galván Reyes"
Date: Thu, 22 May 2003 21:51
14 lines
1755 bytes
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
-- 
Sguindaw -> "gesteo onis: hacer que las cosas sean"
Re: Data Binding with ADODC y ADO DATAGRID
#95
Author: 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
Re: Data Binding with ADODC y ADO DATAGRID
#94
Author: pop
Date: Fri, 06 Jun 2003 10:51
6 lines
1267 bytes
i,ve stored the data in the database and at this time i want to access
the data using the ADODC and datagrid immediately so for that purpose
i used
  .refresh method but the result remain unaffected 
please help me
any type of help with respect to this apprecaited.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads