now you have constructor like below
public Form2(int pid, string pname, double pamount, int cid, string category)
{
add another constructor to send list of items as you wish. for example
public Form2(DataGridViewSelectedRowCollection rows)
{
InitializeComponent();
}
can be used to send all selected rows
Form2 f2 = new Form2(dataGridView3.SelectedRows);