private void btnAdd_Click(object sender, EventArgs e) { addExpenses add = new addExpenses(); add.ShowDialog(); DataSet expenseSet = new DataSet(); expenseSet.ReadXml(new XmlNodeReader(Main.userData)); dataGridView1.DataSource = expenseSet.Tables["item"]; }
private void btnAdd_Click(object sender, EventArgs e) { addExpenses add = new addExpenses(); add.ShowDialog(); }