datagridview – c # winforms possible to save data in the data grid view within the class

I'm new to c #. Is it possible to save the user's input data (not from the database) written inside datagridview in a class? I used this method to save data from text box and data selection and it worked. But when I tried a similar method for the data grid view, the data disappeared.

Basically, in Form 1, I will enter data for textbox / datetimepicker and press save. Then I will click on the following button to continue with Form 2, and do my other things. Then I will click behind Button from Form 2 to return to Form 1. And in Form 1, the data for the text box / data identifier is still intact.

Below are my codes that I used for the text box and the data selector.

Form 1

private void save1_Click (object sender, EventArgs e)
{
Savestate.t1 = textbox1.Text;
Savestate.d1 = datetimepicker1.Text;
}
private void new1_Click (sender object, EventArgs e)
{
this.Hide ();
Form2 f2 = new Form2 ();
f2.Show ();
}

Form 2

private void back2_Click (sender object, EventArgs e)
{
this.Hide ();
Form1 f1 = new Form1 ();
f1.Show ();
}

Savestate (name of the class)

name of the namespace project
{
Public partial class Savestate
{
// declaring variable
public static string t1 = string.Empty;
public static string d1 = string.Empty;
}
}

I hope to get help on how to save datgridview data in class. Thank you!