Salaam to everyone!
dear i am having a problem
i am having a form and datagridview
now the problem is that when form load and iam write something like saniplast so data of datagriview select similar saniplast when i pressed enter so the datagridview_keypress coding cannot execute here is coding
DGvie_Keypress(by. . . . . ...something code or pe. . . .. )
if e.keycode=keys.enter
form2.textbox1.text=dgvie.currentrow.cells("ProductId").value
form1.close()
end if
now the problem is that when i pressed enter so the second row of datagridview is selected and heres product id is assign to form2 textbox
i want to disable the datagridview press enter to move next row
please help me