我需要将值从DataGridView
单元格传递到VB.NET中的文本框。
我试过了,但它没有用。
Private Sub Cmdsave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cmdsave.Click
For Each rw As DataGridViewRow In DGVorders.SelectedRows
Me.TextBox2.Text = rw.Cells(7).Value.ToString
Next
End Sub