Same again
Private Sub Button1_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles Button1.Click
DataGridView1.B eginEdit(False)
DataGridView1.R ows(0).Cells(0) .Value = 12234
DataGridView1.R ows(0).Cells(1) .Selected = True
End Sub
even here its click twice to fill the first one
User Profile
Collapse
-
DataGridView
forget the last one
just draged a datagridview and a button on to the stage
created a colomn list for the datagrid at design time
Private Sub Button1_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles Button1.Click
DataGridView1.R ows(DataGridVie w1.CurrentCell. RowIndex).Cells (DataGridView1. CurrentCell.Col umnIndex).Value = 90000
...Leave a comment:
-
Daragridview.cu rrentcell.value bytes
Thanks for your interest
No did you notice that the virtual mode = true
ThanksLeave a comment:
-
DataGridView.currentCell bytes
Hi All experts there,
I am developing a software using datagridview (vb6 feels better) and i am using virtualMode.
it shows the focus blue box but it is not possible to fill data to the first cell programatically . what is wrong here.
also i have used from within a button_click event as follows
1- MyGrid.CurrentC ell.Value = 22
2- MyGrid.Rows(0). Cells(0).value = 22
3-...
No activity results to display
Show More
Leave a comment: