how to create a pop up form for each row in datagridview that holds detailed info about that particular row of a column ? I want a editable pop up form with two text boxes and sum of both text boxes in the selected cell of the column . i don't know what approach to take ,
can someone provide me with a link please.

Why dont you create a form to act like a pop-up, that onload() load the datagrid information?

Edited 4 Years Ago by SaaDwTk

create a new form and add three textBoxs with label i.e value 1 , value 2 , sum.
on Main form select the grid and goto property then Event - Click . Double click and add the follwing code.
Dim frm as new form1
Dim i As
Integer
i =
DataGridView1.
CurrentRow.Index
frm.textbox1.Text
= DataGridView1.
Item(0, i).Value

frm.TextBox2.
Text =
DataGridView1.
Item(1, i).Value

frm.TextBox3.
Text =
DataGridView1.
Item(0, i).Value +
DataGridView1.
Item(1, i).Value
frm.showDialog()

A form that will pop up everytime you click on the datagridview's row is easy. Follow the shared code above by Khair.

Comments
Contributes nothing
This question has already been answered. Start a new discussion instead.