本文介绍了我需要帮助这个代码我知道在哪里点击以编码它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Private Sub DGVCustDetails_CellDoubleClick(sender As Object, e As
DataGridViewCellEventArgs) Handles DGVCustDetails.CellDoubleClick
With FrmSale
.txtCustID.Text = DGVCustDetails.CurrentRow.Cells(0).Value.ToString()
.txtCustFirstName.Text = DGVCustDetails.CurrentRow.Cells(1).Value.ToString
.txtCustSurname.Text = DGVCustDetails.CurrentRow.Cells(2).Value.ToString
.txtCustContactNo.Text = DGVCustDetails.CurrentRow.Cells(3).Value.ToString
End With
Me.Close()
End Sub
我尝试了什么:
我在datagridview上试过双重克隆,但在编码中它说 datagridview_cellcontentclick
而不是 datagridview_celldoubleclick
所以我知道该怎么做
What I have tried:
I tried double clinking on the datagridview but in the coding its says datagridview_cellcontentclick
instead of datagridview_celldoubleclick
so i dnt knw what to do
推荐答案
这篇关于我需要帮助这个代码我知道在哪里点击以编码它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!