Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

how to automatically set the text of labels in vb.net

$
0
0
i have 10 labels and 10 textboxes in my form . i am trying to set the text of the labels and textbox using the datagridview coloumns i have tried the code below but it is setting the text only for the first label and not the rest..please guide mr through this guyz..
        For Each row As DataGridViewRow In FormulativeDV.Rows
            If Not row.IsNewRow Then
                Lbl1.Text = (row.Cells(0).Value.ToString)
            End If
        Next


Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>