VB.NET - Get all row data from data table

Publié le: 05 juillet 2014
sur la chaîne: KnowledgeIsCool
13,948
15

Here is the code you can use to retrieve all row data from a data table.

http://knowledgeiscool.wordpress.com/...

VB.NET - Get all row data from data table

Dim rowData As String = ""

'dt is the name of the data table
For Each row As DataRow In dt.Rows
For Each column As DataColumn In dt.Columns
rowData = rowData & column.ColumnName & "=" & row(column) & " "
Next
rowData = rowData & vbNewLine & vbNewLine
Next

MessageBox.Show(rowData)


Sur cette page du site, vous pouvez voir la vidéo en ligne VB.NET - Get all row data from data table durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur KnowledgeIsCool 05 juillet 2014, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 13,948 fois et il a aimé 15 téléspectateurs. Bon visionnage!