hello guys im a newbie started studying vb.net 2010 on last week of december 2011.
in my first form i have a datagrid havng access 2003 as db.
on my second form i have textboxes.
now what i need to do is when i clicked a specific row of my datagrid the second form will pop out and display the data on its textboxes, there it can be edited.
so far i have this code. i got this from my search on net
Private Sub dgv1_CellDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgv1.CellDoubleClick Dim empid As Object = dgv1.Rows(e.RowIndex).Cells(0).Value display.Text = Convert.ToString(empid) End Sub
this code display the employee id of the clicked datagrid row on my textbox on the same form.
now i need to place my textbox to another form.. can anybody guide me.. thanks.
Edited by shann1718: n/a