I am using vs2008. i have datagridview with four textbox in form (Form1), i need when i press enter key at first textbox a new form (Form2) should be open and i will select ID from Form2(There will be list of Ids) and that id should be saved in Form1 textbox in which i have pressed enter Key.
Also if i select multiple id of Form2 grid at form1 must be fill with multiple records . and other three text box must be blank
Please Help me with code
0 · ·