Hi Sudesh,
Welcome to MSDN forums.
According to your description, it seems that you would like to edit datagridview cell in datarepeater when row header was double click. So you could add your code in
the RowHeaderMouceDoubleClick event. Then you could set the value of the datagridview cell like this:
Private Sub DataGridView1_RowHeaderMouseDoubleClick(ByVal sender As System.Object, ByVal e AsSystem.Windows.Forms.DataGridViewCellMouseEventArgs) Handles DataGridView1.RowHeaderMouseDoubleClick
CType(Me.DataRepeater1.CurrentItem.Controls("DataGridview1"),DataGridView).Rows(0).Cells(0).Value
= ""
End Sub
I hope this will be helpful and if I misunderstood anything please feel free and let me know.
Best regards,
Shanks Zen
MSDN Community Support |
Feedback to us
