private void btnShowData_Click(object sender, EventArgs e) { // Make sure there are rows in the data table if (this.excelDataTbl.Rows.Count >= 0) { DataGridForm showData = new DataGridForm(excelDataTbl); showData.ShowDialog(); } }
private void btnShowData_Click(object sender, EventArgs e) { // Make sure there are rows in the data table if (transformedDataTbl.Rows.Count >= 0) { DataGridForm showData = new DataGridForm(transformedDataTbl); showData.ShowDialog(); } }