DataGridView EditingControl 取得当前单元格选取的内容

    Private Sub lblC01_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblC01.Click
        Dim myTxt As TextBox
        myTxt = CType(dgvA.EditingControl, TextBox)
        txtC01.Text = myTxt.SelectedText
    End Sub

 

DataGridView EditingControl 取得当前单元格选取的内容

 

上一篇:Nodejs后端 对用户密码进行加密


下一篇:java实现 TCP通信