C
Cor Ligthert
John,
This is nicer, I showed that link in the message below, because I found it
not a method to ask in that ugly way here a question.
The most simple code what you have to place your form load event when you
have dragged a datagrid on your form and clicked on your form where that
form event shows than up.
\\\
dim ds as new dataset
dim conn as new oledb.oledbconnection(SeeLinkBellowForThat)
dim da as new oledb.oledbdataadapter("Select * from mydatabasetable",conn)
da.fill(ds)
datagrid1.datasource = ds.tables(0)
///
When it is SQLserver change than Oledb.Oledb in SQLClient.SQL the same is
for Oracle, however check that than yourself.
Your complete databasetable will be showed. Typed in this message so watch
typos.
www.connectionstrings.com
I hope this helps
Cor
This is nicer, I showed that link in the message below, because I found it
not a method to ask in that ugly way here a question.
The most simple code what you have to place your form load event when you
have dragged a datagrid on your form and clicked on your form where that
form event shows than up.
\\\
dim ds as new dataset
dim conn as new oledb.oledbconnection(SeeLinkBellowForThat)
dim da as new oledb.oledbdataadapter("Select * from mydatabasetable",conn)
da.fill(ds)
datagrid1.datasource = ds.tables(0)
///
When it is SQLserver change than Oledb.Oledb in SQLClient.SQL the same is
for Oracle, however check that than yourself.
Your complete databasetable will be showed. Typed in this message so watch
typos.
www.connectionstrings.com
I hope this helps
Cor
