I have test this and the first form not affected with changes from FormMahasiswa
private void FormMahasiswa_Load(object sender, EventArgs e)
{
Form1.glbData = new DataTable();
Form1.glbData.Columns.Add("Newww", typeof(int));
Form1.glbData.Columns.Add("Drug", typeof(string));
Form1.glbData.Columns.Add("Patient", typeof(string));
Form1.glbData.Columns.Add("Date", typeof(DateTime));
// Here we add five DataRows.
Form1.glbData.Rows.Add(25, "Sample Change", "Change ", DateTime.Now);
Form1.glbData.Rows.Add(50, "Enebrel", "Sam", DateTime.Now);
Form1.glbData.Rows.Add(10, "Hydralazine", "Christoff", DateTime.Now);
Form1.glbData.Rows.Add(21, "Combivent", "Janet", DateTime.Now);
Form1.glbData.Rows.Add(100, "Dilantin", "Melanie", DateTime.Now);
dataGridView1.DataSource = Form1.glbData;
}
Regards Toha