Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What are the tables names in my database :)
Message
De
13/08/2002 05:04:14
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
What are the tables names in my database :)
Divers
Thread ID:
00689017
Message ID:
00689017
Vues:
67
im using an mdb database (Microsoft Access)
i made my oledbconnection thru code:
Dim cnn As OleDbConnection
Dim strConn As String
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" + _
"Data Source=C:\mydata.mdb;" + _
"Mode=Share Deny None"
cnn = New OleDbConnection(strConn)

dragging the tables from the server explorer into my form is not appropriate for my application, because additional tables might be added to the database in the future.
what i want is to display all the table names inside "mydata.mdb" on myListBox control.
do i need additional objects such as oledbcommand,...
pls fill up the missing code. thanks a lot!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform