Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to fill a table on my webpage
Message
De
06/12/2005 14:17:48
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
How to fill a table on my webpage
Divers
Thread ID:
01075462
Message ID:
01075462
Vues:
69
Hi all,

i'm try to work with asp.net and webmatrix, via the following code i have put information into a grid.

Dim ikl_kode As Integer = CInt(nCurrentclient.Tables(0).Rows(0)(0))
Dim connectionString As String = "server='(local)'; user id='xxx'; password='xxx'; database='xxx'"
Dim dbConnection As System.Data.IDbConnection = New System.Data.SqlClient.SqlConnection(connectionString)
dim GetHeaderInfo as string ="select * from online_dossierheader"
Dim dbCommand As System.Data.IDbCommand = New System.Data.SqlClient.SqlCommand
dbCommand.CommandText = GetHeaderInfo
dbCommand.Connection = dbConnection
dbconnection.open()
dim mycommand as new sqlcommand(GetHeaderInfo,dbconnection)
datagrid1.datasource=mycommand.ExecuteReader '(CommandBehavior.CloseConnection)
datagrid1.databind()

Now i wan't to do the same but for a table object. So i put the table object on my webpage but somehow i don't get te data in the table and displayed on the screen.

Could somebody help me on the way ?

thnx
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform