A datatable is an object everything in .NET is an object even string data is an object, as an example.
When you call the form, pass the datatable into the form using its form constructor.
https://blogs.msmvps.com/deborahk/passing-data-between-forms-constructor/
public partial class Form2: Form
{
// Variable to store the passed in text
datatable passedIndt;
public Form2(datatable dt)
{
InitializeComponent();
this.passedIndt= dt;
}
}
private void Button1_Click(object sender, EventArgs e)
{
Form2 frmForm2 = new Form2(yourdatatable);
this.Hide();
frmForm2 .ShowDialog();
this.Show();
}
You pass it into the other form and have at it.